[Python-checkins] bpo-39830: Add zipfile.Path to __all__ (GH-19115)
Zackery Spytz
webhook-mailer at python.org
Mon Mar 23 09:29:58 EDT 2020
https://github.com/python/cpython/commit/9a81ab107a54b8ca320fb703f7c68e14ccd9d016
commit: 9a81ab107a54b8ca320fb703f7c68e14ccd9d016
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-03-23T09:29:36-04:00
summary:
bpo-39830: Add zipfile.Path to __all__ (GH-19115)
files:
A Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst
M Lib/zipfile.py
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index 55993c89b5bcd..c3f814cc747e0 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -37,7 +37,8 @@
__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 0000000000000..fc9c650cc39f2
--- /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.
More information about the Python-checkins
mailing list