From 9a81ab107a54b8ca320fb703f7c68e14ccd9d016 Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Mon, 23 Mar 2020 07:29:36 -0600 Subject: bpo-39830: Add zipfile.Path to __all__ (GH-19115) --- Lib/zipfile.py | 3 ++- Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 55993c8..c3f814c 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -37,7 +37,8 @@ except ImportError: __all__ = ["BadZipFile", "BadZipfile", "error", "ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA", - "is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile"] + "is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile", + "Path"] class BadZipFile(Exception): pass diff --git a/Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst b/Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst new file mode 100644 index 0000000..fc9c650 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst @@ -0,0 +1 @@ +Add :class:`zipfile.Path` to ``__all__`` in the :mod:`zipfile` module. -- cgit v0.12