From 4950ae14916e340e5274ce0b8277aec9006bd035 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 2 Jan 2017 06:13:42 +0300 Subject: Issue #29013: Fix allowZip64 documentation Zip files can be larger than 4 GiB if allowZip64 is true (default since Python 3.4) --- Doc/library/zipfile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index bf482d2..d144ae3 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -152,7 +152,7 @@ ZipFile Objects (:mod:`zlib`, :mod:`bz2` or :mod:`lzma`) is not available, :exc:`RuntimeError` is also raised. The default is :const:`ZIP_STORED`. If *allowZip64* is ``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. If the file is created with mode ``'w'``, ``'x'`` or ``'a'`` and then -- cgit v0.12