ImportFrom level cannot be optional (#2517)

This commit is contained in:
thautwarm
2018-10-16 10:10:40 +08:00
committed by Sebastian Rittau
parent 4ed42f899e
commit e5713d2942

View File

@@ -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]