summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/source/library/apt_inst.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/library/apt_inst.rst b/doc/source/library/apt_inst.rst
index 6ba330a3..cf0853dc 100644
--- a/doc/source/library/apt_inst.rst
+++ b/doc/source/library/apt_inst.rst
@@ -176,7 +176,7 @@ Tar Archives
Return the contents of the member, as a bytes object. Raise
LookupError if there is no member with the given name.
- .. method:: go(callback: callable[, member: str]) -> True
+ .. method:: go(callback: callable[, member: str, extract_data: bool]) -> True
Go through the archive and call the callable *callback* for each
member with 2 arguments. The first argument is the :class:`TarMember`
@@ -186,6 +186,9 @@ Tar Archives
which call the callback. If not specified, it will be called for all
members. If specified and not found, LookupError will be raised.
+ The optional parameter *extract_data* can be set to ``False`` to not
+ extract data.
+
.. class:: TarMember
Represent a single member of a 'tar' archive.