diff options
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/lilv.i | 4 |
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): |