From 50d98acc766e9425cb099c17b711f1bccb697584 Mon Sep 17 00:00:00 2001 From: Ivan Levkivskyi Date: Mon, 13 May 2019 18:32:24 +0100 Subject: [PATCH] Remove redundant variable definitions in ast module (#2986) --- stdlib/2/_ast.pyi | 2 -- stdlib/2/ast.pyi | 4 ---- 2 files changed, 6 deletions(-) diff --git a/stdlib/2/_ast.pyi b/stdlib/2/_ast.pyi index a6f27cbe9..c461bb412 100644 --- a/stdlib/2/_ast.pyi +++ b/stdlib/2/_ast.pyi @@ -2,9 +2,7 @@ import typing from typing import Optional __version__: str - PyCF_ONLY_AST: int - _identifier = str class AST: diff --git a/stdlib/2/ast.pyi b/stdlib/2/ast.pyi index 57a5fe79d..c5ffd6556 100644 --- a/stdlib/2/ast.pyi +++ b/stdlib/2/ast.pyi @@ -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: ...