From 3c869a3165f8055d23a66ba1d864f930bca4db4a Mon Sep 17 00:00:00 2001 From: Stephen Morton Date: Tue, 19 Nov 2024 03:49:17 -0800 Subject: [PATCH] add `zipfile._path.__all__` (#13040) --- stdlib/zipfile/_path.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/zipfile/_path.pyi b/stdlib/zipfile/_path.pyi index 933acf2c4..a7248ba7a 100644 --- a/stdlib/zipfile/_path.pyi +++ b/stdlib/zipfile/_path.pyi @@ -12,6 +12,8 @@ _ReadWriteBinaryMode: TypeAlias = Literal["r", "w", "rb", "wb"] _ZF = TypeVar("_ZF", bound=ZipFile) if sys.version_info >= (3, 12): + __all__ = ["Path"] + class InitializedState: def __init__(self, *args: object, **kwargs: object) -> None: ... def __getstate__(self) -> tuple[list[object], dict[object, object]]: ...