Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7abaa8

Browse files
committed
Issue #28103: Merge from 3.5
2 parents d35ee0b + 7927e75 commit b7abaa8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/zipfile.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ ZipFile Objects
142142
file, then additional files are added to it. If *file* does not refer to a
143143
ZIP file, then a new ZIP archive is appended to the file. This is meant for
144144
adding a ZIP archive to another file (such as :file:`python.exe`). If
145-
*mode* is ``a`` and the file does not exist at all, it is created.
146-
If *mode* is ``r`` or ``a``, the file should be seekable.
145+
*mode* is ``'a'`` and the file does not exist at all, it is created.
146+
If *mode* is ``'r'`` or ``'a'``, the file should be seekable.
147147
*compression* is the ZIP compression method to use when writing the archive,
148148
and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`,
149149
:const:`ZIP_BZIP2` or :const:`ZIP_LZMA`; unrecognized

0 commit comments

Comments
 (0)