summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-09 17:02:46 +0000
committerDavid Robillard <d@drobilla.net>2015-10-09 17:02:46 +0000
commit438eefdd67368dbd8fb8a6aa7ab207aac44e9715 (patch)
tree23c6f55dafb88b4de83e07d98625bd85acc9d90e /bindings
parent4bec5c719eead3e276d475c68e334610a65af62f (diff)
downloadlilv-438eefdd67368dbd8fb8a6aa7ab207aac44e9715.tar.gz
lilv-438eefdd67368dbd8fb8a6aa7ab207aac44e9715.tar.bz2
lilv-438eefdd67368dbd8fb8a6aa7ab207aac44e9715.zip
Fix Python bindings
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5759 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'bindings')
-rw-r--r--bindings/lilv.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/lilv.i b/bindings/lilv.i
index 8bbdd3f..f6254a7 100644
--- a/bindings/lilv.i
+++ b/bindings/lilv.i
@@ -40,6 +40,10 @@ namespace Lilv {
self.iter = self.plugins.next(self.iter)
return plugin
+ def next(self):
+ "Python 2 iterator protocol"
+ return Iterator.__next__(self)
+
return Iterator(self)
def get_by_uri(self, *args):