Make 2nd argument to ModuleType an optional kwarg (#941)

This commit is contained in:
David Euresti
2017-02-20 11:10:59 -08:00
committed by Łukasz Langa
parent e3831d8d80
commit dbea48fc7a
2 changed files with 2 additions and 2 deletions

View File

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