# HG changeset patch # Parent fb0992935816ca553cf2717a497a30ec71817f73 Fix style of references to mode values. diff -r fb0992935816 -r 071aa2f16416 Doc/library/zipfile.rst --- a/Doc/library/zipfile.rst Tue Sep 13 00:20:44 2016 +0900 +++ b/Doc/library/zipfile.rst Tue Sep 13 00:22:12 2016 +0900 @@ -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