summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-09-13 01:49:44 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-09-13 01:49:44 (GMT)
commitb7abaa85ae2c8353ded9f2f473dbdbe9291b09b7 (patch)
tree4eac494b9360551539d6a37cebda9e24dbbd5255
parentd35ee0b9cd650aab3200f35cf426c17843c5453a (diff)
parent7927e75758e8ac7285876490d7192c9953eb4ac4 (diff)
downloadcpython-b7abaa85ae2c8353ded9f2f473dbdbe9291b09b7.zip
cpython-b7abaa85ae2c8353ded9f2f473dbdbe9291b09b7.tar.gz
cpython-b7abaa85ae2c8353ded9f2f473dbdbe9291b09b7.tar.bz2
Issue #28103: Merge from 3.5
-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 4b92e44..bf52fa3 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -142,8 +142,8 @@ ZipFile Objects
file, then additional files are added to it. If *file* does not refer to a
ZIP file, then a new ZIP archive is appended to the file. This is meant for
adding a ZIP archive to another file (such as :file:`python.exe`). If
- *mode* is ``a`` and the file does not exist at all, it is created.
- If *mode* is ``r`` or ``a``, the file should be seekable.
+ *mode* is ``'a'`` and the file does not exist at all, it is created.
+ If *mode* is ``'r'`` or ``'a'``, the file should be seekable.
*compression* is the ZIP compression method to use when writing the archive,
and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`,
:const:`ZIP_BZIP2` or :const:`ZIP_LZMA`; unrecognized