From c5c127edbe13175e8515becbc0d2955b8def1950 Mon Sep 17 00:00:00 2001 From: Yuri Prezument Date: Wed, 19 Nov 2014 12:55:32 +0200 Subject: [PATCH] Fix CursorIterator.next() for Python 3 It was calling next, but returning None --- tweepy/cursor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/cursor.py b/tweepy/cursor.py index 274a430..902fc22 100644 --- a/tweepy/cursor.py +++ b/tweepy/cursor.py @@ -46,7 +46,7 @@ class BaseIterator(object): self.limit = 0 def __next__(self): - self.next() + return self.next() def next(self): raise NotImplementedError -- 2.25.1