Mark GzipFile.mtime as Optional[int] (#2365)

Unlike the corresponding constructor kwarg, this is an int, not float.
This commit is contained in:
Ville Skyttä
2018-08-07 20:22:46 +03:00
committed by Jelle Zijlstra
parent c1f89a90b4
commit 5fc149bb31

View File

@@ -23,7 +23,7 @@ class GzipFile(_compression.BaseStream):
@property
def filename(self) -> str: ...
@property
def mtime(self): ...
def mtime(self) -> Optional[int]: ...
crc: int
def write(self, data: bytes) -> int: ...
def read(self, size: Optional[int] = ...) -> bytes: ...