summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-01-16 06:59:13 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-01-16 06:59:13 (GMT)
commit104dcdab593b50596666b9f27fa6bfedc376deae (patch)
tree0a4886ba8ed4a976245a4493a4d12bbe4d8d84cb /Lib/tarfile.py
parent4eb376c441f99e9ea50beae5309020a1469393ac (diff)
downloadcpython-104dcdab593b50596666b9f27fa6bfedc376deae.zip
cpython-104dcdab593b50596666b9f27fa6bfedc376deae.tar.gz
cpython-104dcdab593b50596666b9f27fa6bfedc376deae.tar.bz2
Issue #23883: Add missing APIs to tarfile.__all__
Patch by Joel Taddei and Jacek KoƂodziej.
Diffstat (limited to 'Lib/tarfile.py')
-rwxr-xr-xLib/tarfile.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index 80b6e35..7d43b1e 100755
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -64,7 +64,10 @@ except NameError:
pass
# from tarfile import *
-__all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"]
+__all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError",
+ "CompressionError", "StreamError", "ExtractError", "HeaderError",
+ "ENCODING", "USTAR_FORMAT", "GNU_FORMAT", "PAX_FORMAT",
+ "DEFAULT_FORMAT", "open"]
#---------------------------------------------------------
# tar constants