diff options
| author | tmzullinger <tmzullinger@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-08-23 18:02:42 +0000 |
|---|---|---|
| committer | tmzullinger <tmzullinger@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-08-23 18:02:42 +0000 |
| commit | 21f833e2ffc6e031d5d3421e9dabf38069cf4896 (patch) | |
| tree | 4ad21c366991b8341a48287741917ec38f7d24d6 /ChangeLog | |
| parent | 9a98fc1a1b4476dd57e226cfafaa283997732752 (diff) | |
| download | libgpod-21f833e2ffc6e031d5d3421e9dabf38069cf4896.tar.gz libgpod-21f833e2ffc6e031d5d3421e9dabf38069cf4896.tar.xz libgpod-21f833e2ffc6e031d5d3421e9dabf38069cf4896.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 |
