summaryrefslogtreecommitdiffstats
path: root/bindings/lilv.i
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/lilv.i')
-rw-r--r--bindings/lilv.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/lilv.i b/bindings/lilv.i
index c4c33fb..8bbdd3f 100644
--- a/bindings/lilv.i
+++ b/bindings/lilv.i
@@ -32,8 +32,8 @@ namespace Lilv {
def __init__(self, plugins):
self.plugins = plugins
self.iter = plugins.begin()
-
- def next(self):
+
+ def __next__(self):
if self.plugins.is_end(self.iter):
raise StopIteration
plugin = self.plugins.get(self.iter)