]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39830: Add zipfile.Path to __all__ (GH-19115)
authorZackery Spytz <zspytz@gmail.com>
Mon, 23 Mar 2020 13:29:36 +0000 (07:29 -0600)
committerGitHub <noreply@github.com>
Mon, 23 Mar 2020 13:29:36 +0000 (09:29 -0400)
Lib/zipfile.py
Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst [new file with mode: 0644]

index 55993c89b5bcdfce0417ab1115132f738754b55c..c3f814cc747e06d33f96dfb1aedae26f8b2be352 100644 (file)
@@ -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 (file)
index 0000000..fc9c650
--- /dev/null
@@ -0,0 +1 @@
+Add :class:`zipfile.Path` to ``__all__`` in the :mod:`zipfile` module.