summaryrefslogtreecommitdiffstats
path: root/bindings/python/tests/tests.py
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-05-16 22:11:54 -0400
committerTodd Zullinger <tmz@pobox.com>2008-07-09 17:31:56 -0400
commitb74520105f3a5233c786b6d44bb0696822d373ca (patch)
treeac5c532a1eb2f642364e0ce4a903f491ebdd478e /bindings/python/tests/tests.py
parentd71c8a8e66d9d12eb901e948f53647652b50228d (diff)
downloadlibgpod-b74520105f3a5233c786b6d44bb0696822d373ca.tar.gz
libgpod-b74520105f3a5233c786b6d44bb0696822d373ca.tar.xz
libgpod-b74520105f3a5233c786b6d44bb0696822d373ca.zip
Be more consistent with other python 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 Photo, Track, or Thumbnail object's keys, values, or items. The items() and pairs() methods were renamed to values() and items(), respectively, in Photo, Track, and Thumbnail classes.
Diffstat (limited to 'bindings/python/tests/tests.py')
0 files changed, 0 insertions, 0 deletions