diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-13 18:27:43 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-13 18:27:43 +0200 |
| commit | 506cb021d62e643fba38ddb4b84572a86cb3a3ba (patch) | |
| tree | 364b053d1560897d5b24dfd8950df341f0f63288 /python/apt_instmodule.cc | |
| parent | 6c3e74bdf3a8bd6aced0a2ddb38c1cc7b22ec655 (diff) | |
| download | python-apt-506cb021d62e643fba38ddb4b84572a86cb3a3ba.tar.gz | |
* python/tag.cc: Support 'key in mapping' for TagSections
Support the replacement of mapping.has_key() for sections, and
update the usage in apt/package.py and apt/debfile accordingly.
This is implemented by extending the TagSecType with sequence
methods, but only settings the contains method there.
The TagSecGetAttr() function has been removed and replaced by
the use of the tp_methods slot.
Diffstat (limited to 'python/apt_instmodule.cc')
0 files changed, 0 insertions, 0 deletions
