Remove bare Incomplete annotations in third-party stubs (#11671)

This commit is contained in:
Sebastian Rittau
2024-03-31 03:34:51 +02:00
committed by GitHub
parent 6cb57b5f26
commit 33de88879f
33 changed files with 76 additions and 99 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class NodeVisitor(Generic[_VisitResultT], metaclass=RuleDecoratorMeta):
grammar: Grammar | Incomplete
unwrapped_exceptions: tuple[type[BaseException], ...]
def visit(self, node: Node) -> _VisitResultT: ...
def generic_visit(self, node: Node, visited_children: Sequence[Any]) -> Incomplete: ...
def generic_visit(self, node: Node, visited_children: Sequence[Any]): ...
def parse(self, text: str, pos: int = 0) -> _VisitResultT: ...
def match(self, text: str, pos: int = 0) -> _VisitResultT: ...
def lift_child(self, node: Node, children: Sequence[_ChildT]) -> _ChildT: ...