bpo-39830: Add zipfile.Path to __all__ (GH-19115)

This commit is contained in:
Zackery Spytz 2020-03-23 07:29:36 -06:00 committed by GitHub
parent bace59d8b8
commit 9a81ab107a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,8 @@ except ImportError:
__all__ = ["BadZipFile", "BadZipfile", "error", __all__ = ["BadZipFile", "BadZipfile", "error",
"ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA", "ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA",
"is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile"] "is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile",
"Path"]
class BadZipFile(Exception): class BadZipFile(Exception):
pass pass

View File

@ -0,0 +1 @@
Add :class:`zipfile.Path` to ``__all__`` in the :mod:`zipfile` module.