mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
[3.14] Add annotations for `ast.compare` (#12111)
Add annotations for ast.compare
This commit is contained in:
committed by
GitHub
parent
4da3572827
commit
1794cfd26e
@@ -365,3 +365,6 @@ def walk(node: AST) -> Iterator[AST]: ...
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def main() -> None: ...
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
def compare(left: AST, right: AST, /, *, compare_attributes: bool = False) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user