summaryrefslogtreecommitdiffstats
path: root/Doc/library/zipfile.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-16 15:30:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-16 15:30:31 (GMT)
commit0cad7eca45a3bd081fa0c2dd18e05c8202661cf9 (patch)
tree940e23e6f0193a32b141a5e0f91e6b350eacd540 /Doc/library/zipfile.rst
parent165ee9645b6518f36c3ec23d0e64d2956e42c5c4 (diff)
parentf8def28ff03f3167bd0becabab4dc5d70ee22033 (diff)
downloadcpython-0cad7eca45a3bd081fa0c2dd18e05c8202661cf9.zip
cpython-0cad7eca45a3bd081fa0c2dd18e05c8202661cf9.tar.gz
cpython-0cad7eca45a3bd081fa0c2dd18e05c8202661cf9.tar.bz2
Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units.
Diffstat (limited to 'Doc/library/zipfile.rst')
-rw-r--r--Doc/library/zipfile.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
index e84c707..c45c070 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -18,7 +18,7 @@ defined in `PKZIP Application Note
This module does not currently handle multi-disk ZIP files.
It can handle ZIP files that use the ZIP64 extensions
-(that is ZIP files that are more than 4 GByte in size). It supports
+(that is ZIP files that are more than 4 GiB in size). It supports
decryption of encrypted files in ZIP archives, but it currently cannot
create an encrypted file. Decryption is extremely slow as it is
implemented in native Python rather than C.
@@ -148,7 +148,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`` zipfile will create ZIP files that use the ZIP64 extensions when
- the zipfile is larger than 2 GB. If it is false (the default) :mod:`zipfile`
+ the zipfile is larger than 2 GiB. If it is false (the default) :mod:`zipfile`
will raise an exception when the ZIP file would require ZIP64 extensions.
ZIP64 extensions are disabled by default because the default :program:`zip`
and :program:`unzip` commands on Unix (the InfoZIP utilities) don't support