From e5713d2942fa65ab8230ec8f802bb732d29621b4 Mon Sep 17 00:00:00 2001 From: thautwarm Date: Tue, 16 Oct 2018 10:10:40 +0800 Subject: [PATCH] ImportFrom level cannot be optional (#2517) --- stdlib/3/_ast.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/_ast.pyi b/stdlib/3/_ast.pyi index 3a14d784f..084b6be64 100644 --- a/stdlib/3/_ast.pyi +++ b/stdlib/3/_ast.pyi @@ -132,7 +132,7 @@ class Import(stmt): class ImportFrom(stmt): module = ... # type: Optional[_identifier] names = ... # type: typing.List[alias] - level = ... # type: Optional[int] + level = ... # type: int class Global(stmt): names = ... # type: typing.List[_identifier]