mirror of https://github.com/python/cpython
Issue #29013: Fix allowZip64 documentation
Zip files can be larger than 4 GiB if allowZip64 is true (default since Python 3.4)
This commit is contained in:
parent
14adafd6ee
commit
4950ae1491
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue