bpo-39830: Add zipfile.Path to __all__ (GH-19115) (GH-19116)
(cherry picked from commit 9a81ab107a
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
parent
b38bd8888a
commit
5c1d745da5
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Add :class:`zipfile.Path` to ``__all__`` in the :mod:`zipfile` module.
|
Loading…
Reference in New Issue