[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #28103: Merge from 3.5

berker.peksag python-checkins at python.org
Mon Sep 12 21:49:28 EDT 2016


https://hg.python.org/cpython/rev/89b0ca61ad03
changeset:   103726:89b0ca61ad03
branch:      3.6
parent:      103723:7815411a712d
parent:      103725:138625694ed6
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Tue Sep 13 04:49:44 2016 +0300
summary:
  Issue #28103: Merge from 3.5

files:
  Doc/library/zipfile.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -142,8 +142,8 @@
    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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list