mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
ImportFrom level cannot be optional (#2517)
This commit is contained in:
committed by
Sebastian Rittau
parent
4ed42f899e
commit
e5713d2942
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user