Commit 4950ae14 authored by Berker Peksag's avatar Berker Peksag

Issue #29013: Fix allowZip64 documentation

Zip files can be larger than 4 GiB if allowZip64
is true (default since Python 3.4)
parent 14adafd6
...@@ -152,7 +152,7 @@ ZipFile Objects ...@@ -152,7 +152,7 @@ ZipFile Objects
(:mod:`zlib`, :mod:`bz2` or :mod:`lzma`) is not available, :exc:`RuntimeError` (:mod:`zlib`, :mod:`bz2` or :mod:`lzma`) is not available, :exc:`RuntimeError`
is also raised. The default is :const:`ZIP_STORED`. If *allowZip64* is is also raised. The default is :const:`ZIP_STORED`. If *allowZip64* is
``True`` (the default) zipfile will create ZIP files that use the ZIP64 ``True`` (the default) zipfile will create ZIP files that use the ZIP64
extensions when the zipfile is larger than 2 GiB. If it is false :mod:`zipfile` extensions when the zipfile is larger than 4 GiB. If it is false :mod:`zipfile`
will raise an exception when the ZIP file would require ZIP64 extensions. will raise an exception when the ZIP file would require ZIP64 extensions.
If the file is created with mode ``'w'``, ``'x'`` or ``'a'`` and then If the file is created with mode ``'w'``, ``'x'`` or ``'a'`` and then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment