diff options
author | Georg Brandl <georg@python.org> | 2010-10-28 06:42:33 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-28 06:42:33 (GMT) |
commit | 4d540885993b0c8336f20fd52ee3972f0de44c25 (patch) | |
tree | 39f15b46ad9556d09b073b477de08269538af91d /Doc/library/zipfile.rst | |
parent | b156a46b26d9f231d7b36d303055af4d2b3b7c17 (diff) | |
download | cpython-4d540885993b0c8336f20fd52ee3972f0de44c25.zip cpython-4d540885993b0c8336f20fd52ee3972f0de44c25.tar.gz cpython-4d540885993b0c8336f20fd52ee3972f0de44c25.tar.bz2 |
#7351: add more consistent exception name alias.
Diffstat (limited to 'Doc/library/zipfile.rst')
-rw-r--r-- | Doc/library/zipfile.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index 864ee48..ef2edfc 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -24,10 +24,18 @@ For other archive formats, see the :mod:`bz2`, :mod:`gzip`, and The module defines the following items: -.. exception:: BadZipfile +.. exception:: BadZipFile The error raised for bad ZIP files (old name: ``zipfile.error``). + .. versionadded:: 3.2 + + +.. exception:: BadZipfile + + This is an alias for :exc:`BadZipFile` that exists for compatibility with + Python versions prior to 3.2. Usage is deprecated. + .. exception:: LargeZipFile |