diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-12-07 13:40:21 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-12-07 13:40:21 +0100 |
| commit | f93c69c24378aaed08c401b4303b60a6c2eb8260 (patch) | |
| tree | 31a31fe04ec7b231a4fa1a3456c7ed25426a2f64 /doc/source/library | |
| parent | f7d22dc2e7964ce33415e53a81dfc62439111491 (diff) | |
| parent | 0454e03e4c58d4ff63538badbf1b17276fe31494 (diff) | |
| download | python-apt-f93c69c24378aaed08c401b4303b60a6c2eb8260.tar.gz | |
merged from debian-sid
Diffstat (limited to 'doc/source/library')
| -rw-r--r-- | doc/source/library/apt_pkg.rst | 8 |
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. |
