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 @@ -266,7 +266,7 @@ ZipFile Objects
266
266
(``ZipExtFile ``) is read-only and provides the following methods:
267
267
:meth: `~io.BufferedIOBase.read `, :meth: `~io.IOBase.readline `,
268
268
:meth: `~io.IOBase.readlines `, :meth: `~io.IOBase.seek `,
269
- :meth: `~io.IOBase.tell `, :meth: `__iter__ `, :meth: `~iterator.__next__ `.
269
+ :meth: `~io.IOBase.tell `, :meth: `~container. __iter__ `, :meth: `~iterator.__next__ `.
270
270
These objects can operate independently of the ZipFile.
271
271
272
272
With ``mode='w' ``, a writable file handle is returned, which supports the
You can’t perform that action at this time.
0 commit comments