mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
zipfile.ZipInfo.__init__ is the same on 2/3 (#2628)
This commit is contained in:
committed by
Jelle Zijlstra
parent
517d2b6012
commit
172b384e23
@@ -87,11 +87,10 @@ class ZipInfo:
|
||||
CRC = ... # type: int
|
||||
compress_size = ... # type: int
|
||||
file_size = ... # type: int
|
||||
def __init__(self, filename: Optional[Text] = ...,
|
||||
date_time: Optional[_DT] = ...) -> None: ...
|
||||
if sys.version_info >= (3, 6):
|
||||
def is_dir(self) -> bool: ...
|
||||
if sys.version_info < (3,):
|
||||
def __init__(self, filename: Optional[Text] = ...,
|
||||
date_time: Optional[_DT] = ...) -> None: ...
|
||||
|
||||
|
||||
def is_zipfile(filename: Union[_Path, IO[bytes]]) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user