diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-01-16 06:59:13 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-01-16 06:59:13 (GMT) |
commit | 104dcdab593b50596666b9f27fa6bfedc376deae (patch) | |
tree | 0a4886ba8ed4a976245a4493a4d12bbe4d8d84cb /Lib/tarfile.py | |
parent | 4eb376c441f99e9ea50beae5309020a1469393ac (diff) | |
download | cpython-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-x | Lib/tarfile.py | 5 |
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 |