fix missing 'at' attribute in zipfile.Path (#12533)

This commit is contained in:
Andrej
2024-08-16 19:29:27 +05:00
committed by GitHub
parent 5403e4aaeb
commit f4d099dd77
2 changed files with 2 additions and 0 deletions

View File

@@ -304,6 +304,7 @@ else:
class Path:
root: CompleteDirs
at: str
def __init__(self, root: ZipFile | StrPath | IO[bytes], at: str = "") -> None: ...
@property
def name(self) -> str: ...

View File

@@ -31,6 +31,7 @@ if sys.version_info >= (3, 12):
class Path:
root: CompleteDirs
at: str
def __init__(self, root: ZipFile | StrPath | IO[bytes], at: str = "") -> None: ...
@property
def name(self) -> str: ...