Skip to content

Commit 4950ae1

Browse files
committed
Issue python#29013: Fix allowZip64 documentation
Zip files can be larger than 4 GiB if allowZip64 is true (default since Python 3.4)
1 parent 14adafd commit 4950ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/zipfile.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ ZipFile Objects
152152
(:mod:`zlib`, :mod:`bz2` or :mod:`lzma`) is not available, :exc:`RuntimeError`
153153
is also raised. The default is :const:`ZIP_STORED`. If *allowZip64* is
154154
``True`` (the default) zipfile will create ZIP files that use the ZIP64
155-
extensions when the zipfile is larger than 2 GiB. If it is false :mod:`zipfile`
155+
extensions when the zipfile is larger than 4 GiB. If it is false :mod:`zipfile`
156156
will raise an exception when the ZIP file would require ZIP64 extensions.
157157

158158
If the file is created with mode ``'w'``, ``'x'`` or ``'a'`` and then

0 commit comments

Comments
 (0)