diff --git a/tree_sitter/binding.pyi b/tree_sitter/binding.pyi index d30c4e0..628fbc8 100644 --- a/tree_sitter/binding.pyi +++ b/tree_sitter/binding.pyi @@ -216,7 +216,7 @@ class Tree: """The root node of this tree.""" ... @property - def text(self) -> str: + def text(self) -> bytes: """The source text for this tree, if unedited.""" ...