diff options
| author | Julian Andres Klode <jak@debian.org> | 2011-04-05 16:11:34 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2011-04-05 16:11:34 +0200 |
| commit | 58b57b320c88cbb3e7df0a12fb47f057ab5da0b1 (patch) | |
| tree | c99eac23558f4ee83038a98323ff0543c4991361 | |
| parent | d260631958f70b4ea973d40b6eee10a53abdc73a (diff) | |
| download | python-apt-58b57b320c88cbb3e7df0a12fb47f057ab5da0b1.tar.gz | |
doc: Add versionadded for the new features
| -rw-r--r-- | doc/source/c++/api.rst | 2 | ||||
| -rw-r--r-- | doc/source/library/apt_pkg.rst | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/c++/api.rst b/doc/source/c++/api.rst index 4922d272..25cfcd9e 100644 --- a/doc/source/c++/api.rst +++ b/doc/source/c++/api.rst @@ -392,6 +392,8 @@ Description (pkgCache::DescIterator) Group (pkgCache::GrpIterator) ---------------------------------- +.. versionadded:: 0.8.0 + .. cvar:: PyTypeObject PyGroup_Type The type object for :class:`apt_pkg.Group` objects. diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index 22225aa4..72ca5ecc 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -63,6 +63,8 @@ Working with the cache Return the :class:`Package()` object for the package with the given name and architecture. + .. versionadded: 0.8.0 + .. describe:: pkgname in cache Check whether a package with the name given by *pkgname* exists in @@ -74,6 +76,8 @@ Working with the cache Check whether a package with the given name and architecture exists in the cache. + .. versionadded: 0.8.0 + .. method:: update(progress, sources [, pulse_interval]) -> bool Update the index files used by the cache. A call to this method @@ -99,11 +103,15 @@ Working with the cache The number of groups in the cache. + .. versionadded: 0.8.0 + .. attribute:: groups A sequence of :class:`Group` objects, implemented as a :class:`GroupList` object. + .. versionadded: 0.8.0 + .. class:: GroupList A simple sequence-like object which only provides a length and @@ -111,6 +119,8 @@ Working with the cache a certain index. Apart from being iterable, it can be used in the following ways: + .. versionadded: 0.8.0 + .. describe:: list[index] Get the :class:`Group` object for the group at the position @@ -125,6 +135,8 @@ Working with the cache An attribute determining whether the cache supports multi-arch. + .. versionadded: 0.8.0 + .. attribute:: package_count The total number of packages available in the cache. This value is |
