add zipfile._path.__all__ (#13040)

This commit is contained in:
Stephen Morton
2024-11-19 03:49:17 -08:00
committed by GitHub
parent 5903805b91
commit 3c869a3165

View File

@@ -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]]: ...