From 6307faa77849df9274d191416aac09e802cb89f3 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Tue, 19 Sep 2017 14:58:34 -0700 Subject: [PATCH] Adjust ast imports to make pytype happy. Turns out that pytype is a bit more finicky about imports, and differentiates between '*' imports for export, and imports for use in the local pyi. This adjusts ast.pyi to make pytype understand it again. --- stdlib/2/ast.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/2/ast.pyi b/stdlib/2/ast.pyi index 9b48cf196873..e4ba3b6f1b1e 100644 --- a/stdlib/2/ast.pyi +++ b/stdlib/2/ast.pyi @@ -4,6 +4,7 @@ import typing from typing import Any, Iterator, Union from _ast import * +from _ast import AST, Module __version__ = ... # type: str PyCF_ONLY_AST = ... # type: int