mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
add missing method stub for match_case node (#10783)
`match_case` is a leaf node and is a valid target for `visit_*`. See 2ef2fffe3b/Lib/ast.py (L1697-L1704)
This commit is contained in:
@@ -138,6 +138,7 @@ class NodeVisitor:
|
||||
def visit_withitem(self, node: withitem) -> Any: ...
|
||||
if sys.version_info >= (3, 10):
|
||||
def visit_Match(self, node: Match) -> Any: ...
|
||||
def visit_match_case(self, node: match_case) -> Any: ...
|
||||
def visit_MatchValue(self, node: MatchValue) -> Any: ...
|
||||
def visit_MatchSequence(self, node: MatchSequence) -> Any: ...
|
||||
def visit_MatchSingleton(self, node: MatchSingleton) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user