mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add show_empty to ast.dump (#11871)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user