Skip to content

Commit 2f1ce88

Browse files
guocisrittau
andauthored
Update stdlib/zipfile/__init__.pyi
Co-authored-by: Sebastian Rittau <[email protected]>
1 parent 9b549f8 commit 2f1ce88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/zipfile/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class ZipInfo:
322322
def is_dir(self) -> bool: ...
323323
def FileHeader(self, zip64: bool | None = None) -> bytes: ...
324324
if sys.version_info >= (3, 14):
325-
def _for_archive(self, archive: ZipFile) -> ZipInfo: ...
325+
def _for_archive(self, archive: ZipFile) -> Self: ...
326326

327327
if sys.version_info >= (3, 12):
328328
from zipfile._path import CompleteDirs as CompleteDirs, Path as Path

0 commit comments

Comments
 (0)