Skip to content

Commit 5c1d745

Browse files
bpo-39830: Add zipfile.Path to __all__ (GH-19115) (GH-19116)
(cherry picked from commit 9a81ab1) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Zackery Spytz <[email protected]>
1 parent b38bd88 commit 5c1d745

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/zipfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737

3838
__all__ = ["BadZipFile", "BadZipfile", "error",
3939
"ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA",
40-
"is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile"]
40+
"is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile",
41+
"Path"]
4142

4243
class BadZipFile(Exception):
4344
pass
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add :class:`zipfile.Path` to ``__all__`` in the :mod:`zipfile` module.

0 commit comments

Comments
 (0)