mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Make 2nd argument to ModuleType an optional kwarg (#941)
This commit is contained in:
committed by
Łukasz Langa
parent
e3831d8d80
commit
dbea48fc7a
@@ -103,7 +103,7 @@ class ModuleType:
|
||||
__name__ = ... # type: str
|
||||
__package__ = ... # type: Optional[str]
|
||||
__path__ = ... # type: Optional[Iterable[str]]
|
||||
def __init__(self, name: str, doc: str) -> None: ...
|
||||
def __init__(self, name: str, doc: Optional[str] = ...) -> None: ...
|
||||
FileType = file
|
||||
XRangeType = xrange
|
||||
|
||||
|
||||
Reference in New Issue
Block a user