Remove redundant variable definitions in ast module (#2986)

This commit is contained in:
Ivan Levkivskyi
2019-05-13 18:32:24 +01:00
committed by Sebastian Rittau
parent e3773ad691
commit 50d98acc76
2 changed files with 0 additions and 6 deletions

View File

@@ -2,9 +2,7 @@ import typing
from typing import Optional
__version__: str
PyCF_ONLY_AST: int
_identifier = str
class AST:

View File

@@ -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: ...