From 20e57a8b99cf2663f71c39b2ce726d041f54c51b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 17 Nov 2010 16:45:48 +0100 Subject: * doc: - Various documentation updates. --- doc/source/library/apt_pkg.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/source/library') 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. -- cgit v1.2.3