diff --git a/mwclient/listing.py b/mwclient/listing.py index 421837e687770de4fe7619fac7914b70e7e991d3..c3e7234d96f896aefe029304837f85aa0e9a2629 100644 --- a/mwclient/listing.py +++ b/mwclient/listing.py @@ -65,7 +65,7 @@ class List(object): if self.last: raise StopIteration self.load_chunk() - return self.__next__(full=full) + return List.__next__(self, full=full) def next(self, *args, **kwargs): """ For Python 2.x support """