diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-06-14 16:47:05 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-06-14 16:47:05 +0200 |
| commit | 986993847b3d833f9ac0926c64f00fa03b895832 (patch) | |
| tree | 51c7ef646ed30f2500b857ed4dbeb8d289832fc6 /python/tar.cc | |
| parent | 578de6dc29630db854eccec21ee895ad7c176227 (diff) | |
| download | python-apt-986993847b3d833f9ac0926c64f00fa03b895832.tar.gz | |
apt/package.py: Return VersionList objects in Package.versions.
VersionList objects provide the same features as sequences (they
are even derived from collections.Sequence in Python 2.6 and newer),
but also provide a mapping like interface.
They are also more efficient than lists because Version objects are
only created when they are accessed.
Diffstat (limited to 'python/tar.cc')
0 files changed, 0 insertions, 0 deletions
