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

This commit is contained in:
Georg Brandl 2009-04-25 15:05:04 +00:00
parent 64034bbf84
commit cf5608df81

View file

@ -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)