summaryrefslogtreecommitdiff
path: root/python/apt_instmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-13 18:27:43 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-13 18:27:43 +0200
commit506cb021d62e643fba38ddb4b84572a86cb3a3ba (patch)
tree364b053d1560897d5b24dfd8950df341f0f63288 /python/apt_instmodule.cc
parent6c3e74bdf3a8bd6aced0a2ddb38c1cc7b22ec655 (diff)
downloadpython-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