From f4d099dd7758771e52a416349f46636759485e9e Mon Sep 17 00:00:00 2001 From: Andrej Date: Fri, 16 Aug 2024 19:29:27 +0500 Subject: [PATCH] fix missing 'at' attribute in zipfile.Path (#12533) --- stdlib/zipfile/__init__.pyi | 1 + stdlib/zipfile/_path.pyi | 1 + 2 files changed, 2 insertions(+) diff --git a/stdlib/zipfile/__init__.pyi b/stdlib/zipfile/__init__.pyi index 85eb2b6df..5b8f02f61 100644 --- a/stdlib/zipfile/__init__.pyi +++ b/stdlib/zipfile/__init__.pyi @@ -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: ... diff --git a/stdlib/zipfile/_path.pyi b/stdlib/zipfile/_path.pyi index bafbbeeb0..933acf2c4 100644 --- a/stdlib/zipfile/_path.pyi +++ b/stdlib/zipfile/_path.pyi @@ -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: ...