diff options
author | Todd Zullinger <tmz@pobox.com> | 2008-08-23 18:02:42 +0000 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2008-08-23 18:02:42 +0000 |
commit | f57f0b7be3f082d8b351236c018020f5f8d70b31 (patch) | |
tree | 4ad21c366991b8341a48287741917ec38f7d24d6 /ChangeLog | |
parent | 27e708ef6565c6f5427a00e39e90f7e59aba2a3e (diff) | |
download | libgpod-tmz-f57f0b7be3f082d8b351236c018020f5f8d70b31.tar.gz libgpod-tmz-f57f0b7be3f082d8b351236c018020f5f8d70b31.tar.xz libgpod-tmz-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 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5,6 +5,16 @@ Add a quiet parameter to Database.remove() and use it in tests + * bindings/python/ipod.py: + 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 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. + 2008-08-20 Todd Zullinger <tmzullinger at users.sourceforge.net> * bindings/python/examples/save_photos.py |