mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
ast.NodeVisitor: add visit_TryStar on 3.11+ (#9418)
This commit is contained in:
@@ -146,6 +146,9 @@ class NodeVisitor:
|
||||
def visit_MatchAs(self, node: MatchAs) -> Any: ...
|
||||
def visit_MatchOr(self, node: MatchOr) -> Any: ...
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
def visit_TryStar(self, node: TryStar) -> Any: ...
|
||||
|
||||
# visit methods for deprecated nodes
|
||||
def visit_ExtSlice(self, node: ExtSlice) -> Any: ...
|
||||
def visit_Index(self, node: Index) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user