Browse Source
bpo-39830: Add zipfile.Path to __all__ (GH-19115)
pull/19120/head
Zackery Spytz
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
Lib/zipfile.py
-
Misc/NEWS.d/next/Library/2020-03-23-05-21-13.bpo-39830.IkqU1Y.rst
|
|
|
@ -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. |