diff --git a/stdlib/ast.pyi b/stdlib/ast.pyi index 39e255975..2525c3642 100644 --- a/stdlib/ast.pyi +++ b/stdlib/ast.pyi @@ -336,7 +336,17 @@ if sys.version_info >= (3, 9): def copy_location(new_node: _T, old_node: AST) -> _T: ... -if sys.version_info >= (3, 9): +if sys.version_info >= (3, 13): + def dump( + node: AST, + annotate_fields: bool = True, + include_attributes: bool = False, + *, + indent: int | str | None = None, + show_empty: bool = False, + ) -> str: ... + +elif sys.version_info >= (3, 9): def dump( node: AST, annotate_fields: bool = True, include_attributes: bool = False, *, indent: int | str | None = None ) -> str: ...