summaryrefslogtreecommitdiffstats
path: root/bindings/python/examples
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-08-23 18:02:42 +0000
committerTodd Zullinger <tmz@pobox.com>2008-08-23 18:02:42 +0000
commitf57f0b7be3f082d8b351236c018020f5f8d70b31 (patch)
tree4ad21c366991b8341a48287741917ec38f7d24d6 /bindings/python/examples
parent27e708ef6565c6f5427a00e39e90f7e59aba2a3e (diff)
downloadlibgpod-f57f0b7be3f082d8b351236c018020f5f8d70b31.tar.gz
libgpod-f57f0b7be3f082d8b351236c018020f5f8d70b31.tar.xz
libgpod-f57f0b7be3f082d8b351236c018020f5f8d70b31.zip
Python: Be more consistent with other container objects and classes
This enables testing whether a key exists in an object (e.g. "'title' in track") as well as iterating over a Track or Photo object's keys, values, or items. The items() and pairs() methods were renamed to values() and items(), respectively, in the Track and Photo classes. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2110 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python/examples')
0 files changed, 0 insertions, 0 deletions