File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ using the :func:`create_archive` function::
215
215
>>> import zipapp
216
216
>>> zipapp.create_archive('old_archive.pyz', 'new_archive.pyz', '/usr/bin/python3')
217
217
218
- To update the file in place, do the replacement in memory using a :class: `BytesIO `
218
+ To update the file in place, do the replacement in memory using a :class: `~io. BytesIO `
219
219
object, and then overwrite the source afterwards. Note that there is a risk
220
220
when overwriting a file in place that an error will result in the loss of
221
221
the original file. This code does not protect against such errors, but
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ ZipFile Objects
288
288
(``ZipExtFile ``) is read-only and provides the following methods:
289
289
:meth: `~io.BufferedIOBase.read `, :meth: `~io.IOBase.readline `,
290
290
:meth: `~io.IOBase.readlines `, :meth: `~io.IOBase.seek `,
291
- :meth: `~io.IOBase.tell `, :meth: `__iter__ `, :meth: `~iterator.__next__ `.
291
+ :meth: `~io.IOBase.tell `, :meth: `~container. __iter__ `, :meth: `~iterator.__next__ `.
292
292
These objects can operate independently of the ZipFile.
293
293
294
294
With ``mode='w' ``, a writable file handle is returned, which supports the
You can’t perform that action at this time.
0 commit comments