summaryrefslogtreecommitdiff
path: root/doc/source/library
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-11-17 16:45:48 +0100
committerJulian Andres Klode <jak@debian.org>2010-11-17 16:45:48 +0100
commit20e57a8b99cf2663f71c39b2ce726d041f54c51b (patch)
tree131fad24d7ee30a6887c271c2ad06a96533ab244 /doc/source/library
parent39901f39915bc25dd40b6227e2710e3688425a7d (diff)
downloadpython-apt-20e57a8b99cf2663f71c39b2ce726d041f54c51b.tar.gz
* doc:
- Various documentation updates.
Diffstat (limited to 'doc/source/library')
-rw-r--r--doc/source/library/apt_pkg.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index 81dafd54..f1bc4845 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -1600,6 +1600,10 @@ section as a string.
tagf = apt_pkg.TagFile(open('/var/lib/dpkg/status'))
for section in tagfile:
print section['Package']
+
+ .. versionchanged:: 0.7.100
+ Added support for using gzip files, via :class:`gzip.GzipFile` or any
+ file containing a compressed gzip stream.
.. method:: next()
@@ -1653,7 +1657,7 @@ section as a string.
Return ``True`` if *section* has a key *key*, else ``False``.
- .. versionadded:: 0.8.0
+ .. versionadded:: 0.7.100
.. method:: bytes() -> int
@@ -1833,6 +1837,8 @@ Configuration and Command-line parsing
Return a string containing the values in the configuration object,
in the standard :manpage:`apt.conf(5)` format.
+ .. versionadded:: 0.7.100
+
.. method:: exists(key)
Check whether an option named *key* exists in the configuration.