I encountered a TypeError when trying to initialize a Language object using the tree_sitter_python module following the example code in the README. I am trying to set up Tree-sitter for Python code parsing.
Steps to Reproduce
Environment:
Python version: 3.8.10
Tree-sitter version: [version]
OS: Linux, Debian-based
I used a fresh install of both tree-sitter and tree-sitter-python
Description
I encountered a TypeError when trying to initialize a
Language
object using thetree_sitter_python
module following the example code in the README. I am trying to set up Tree-sitter for Python code parsing.Steps to Reproduce
I used a fresh install of both tree-sitter and tree-sitter-python
Code:
Expected: I expected the Language object to be initialized without errors.
Actual: TypeError: init() missing 1 required positional argument: 'name'