10000 bpo-39830: Add zipfile.Path to __all__ (GH-19115) · python/cpython@9a81ab1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a81ab1

Browse files
authored
bpo-39830: Add zipfile.Path to __all__ (GH-19115)
1 parent bace59d commit 9a81ab1

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)
0