Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38150e0 commit e5c05ccCopy full SHA for e5c05cc
1 file changed
Doc/library/zipfile.rst
@@ -134,8 +134,8 @@ ZipFile Objects
134
135
Open a ZIP file, where *file* can be either a path to a file (a string) or a
136
file-like object. The *mode* parameter should be ``'r'`` to read an existing
137
- file, ``'w'`` to truncate and write a new file, ``'x'`` to exclusive create
138
- and write a new file, or ``'a'`` to append to an existing file.
+ file, ``'w'`` to truncate and write a new file, ``'a'`` to append to an
+ existing file, or ``'x'`` to exclusively create and write a new file.
139
If *mode* is ``'x'`` and *file* refers to an existing file,
140
a :exc:`FileExistsError` will be raised.
141
If *mode* is ``'a'`` and *file* refers to an existing ZIP
0 commit comments