add missing method stub for match_case node (#10783)

`match_case` is a leaf node and is a valid target for `visit_*`. See https://github.com/python/cpython/blob/2ef2fffe3be953b91852585c75188d5475b09474/Lib/ast.py#L1697-L1704
This commit is contained in:
bzoracler
2023-09-27 09:27:11 +13:00
committed by GitHub
parent 5e7090ce4b
commit 8d0bdfe9ea
+1
View File
@@ -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: ...