Kaydet (Commit) cf5608df authored tarafından Georg Brandl's avatar Georg Brandl

#5821: add some capabilities of TarFile's file-like object.

üst 64034bbf
......@@ -384,8 +384,9 @@ object, see :ref:`tarinfo-objects` for details.
.. note::
The file-like object is read-only and provides the following methods:
:meth:`read`, :meth:`readline`, :meth:`readlines`, :meth:`seek`, :meth:`tell`.
The file-like object is read-only. It provides the methods
:meth:`read`, :meth:`readline`, :meth:`readlines`, :meth:`seek`, :meth:`tell`,
and :meth:`close`, and also supports iteration over its lines.
.. method:: TarFile.add(name, arcname=None, recursive=True, exclude=None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment