mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Mark GzipFile.mtime as Optional[int] (#2365)
Unlike the corresponding constructor kwarg, this is an int, not float.
This commit is contained in:
committed by
Jelle Zijlstra
parent
c1f89a90b4
commit
5fc149bb31
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user