mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
@@ -211,7 +211,7 @@ class ZipInfo:
|
||||
compress_size: int
|
||||
file_size: int
|
||||
orig_filename: str # undocumented
|
||||
def __init__(self, filename: str = "NoName", date_time: _DateTuple = ...) -> None: ...
|
||||
def __init__(self, filename: str = "NoName", date_time: _DateTuple = (1980, 1, 1, 0, 0, 0)) -> None: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
@classmethod
|
||||
def from_file(cls, filename: StrPath, arcname: StrPath | None = None, *, strict_timestamps: bool = True) -> Self: ...
|
||||
|
||||
Reference in New Issue
Block a user