diff --git a/mwclient/listing.py b/mwclient/listing.py index 46bc3b8d3a9a1b7b3ddc3c10cc162a1c8e600d45..3c9edb8f5724c8b058f1af480c810d632d3881a2 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 List.__next__(self, full=full) + return self.__next__(full=full) def next(self, full=False): """ For Python 2.x support """