Skip to content
Snippets Groups Projects
Commit 503dd65e authored by Dan Michael O. Heggø's avatar Dan Michael O. Heggø
Browse files

Quickfix for #135

Putting back an explicit reference to `List` to avoid
`GeneratorList.__next__` being called.
parent e718c46a
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ class List(object): ...@@ -65,7 +65,7 @@ class List(object):
if self.last: if self.last:
raise StopIteration raise StopIteration
self.load_chunk() self.load_chunk()
return self.__next__(full=full) return List.__next__(self, full=full)
def next(self, *args, **kwargs): def next(self, *args, **kwargs):
""" For Python 2.x support """ """ For Python 2.x support """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment