diff --git a/stdlib/ast.pyi b/stdlib/ast.pyi index c83230fd4..a61b4e35f 100644 --- a/stdlib/ast.pyi +++ b/stdlib/ast.pyi @@ -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: ...