We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b549f8 commit 2f1ce88Copy full SHA for 2f1ce88
stdlib/zipfile/__init__.pyi
@@ -322,7 +322,7 @@ class ZipInfo:
322
def is_dir(self) -> bool: ...
323
def FileHeader(self, zip64: bool | None = None) -> bytes: ...
324
if sys.version_info >= (3, 14):
325
- def _for_archive(self, archive: ZipFile) -> ZipInfo: ...
+ def _for_archive(self, archive: ZipFile) -> Self: ...
326
327
if sys.version_info >= (3, 12):
328
from zipfile._path import CompleteDirs as CompleteDirs, Path as Path
0 commit comments