[Python-checkins] cpython (3.5): Issue #28103: Use ``'...'`` style in zipfile documentation
berker.peksag
python-checkins at python.org
Mon Sep 12 21:49:28 EDT 2016
https://hg.python.org/cpython/rev/138625694ed6
changeset: 103725:138625694ed6
branch: 3.5
parent: 103694:0a5596315cf0
user: Berker Peksag <berker.peksag at gmail.com>
date: Tue Sep 13 04:49:12 2016 +0300
summary:
Issue #28103: Use ``'...'`` style in zipfile documentation
Patch by Stephen J. Turnbull.
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