mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Remove redundant variable definitions in ast module (#2986)
This commit is contained in:
committed by
Sebastian Rittau
parent
e3773ad691
commit
50d98acc76
@@ -2,9 +2,7 @@ import typing
|
||||
from typing import Optional
|
||||
|
||||
__version__: str
|
||||
|
||||
PyCF_ONLY_AST: int
|
||||
|
||||
_identifier = str
|
||||
|
||||
class AST:
|
||||
|
||||
@@ -9,10 +9,6 @@ from typing import Any, Iterator, Optional, Union
|
||||
from _ast import *
|
||||
from _ast import AST, Module
|
||||
|
||||
__version__: str
|
||||
PyCF_ONLY_AST: int
|
||||
|
||||
|
||||
def parse(source: Union[str, unicode], filename: Union[str, unicode] = ..., mode: Union[str, unicode] = ...) -> Module: ...
|
||||
def copy_location(new_node: AST, old_node: AST) -> AST: ...
|
||||
def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user