From: Harmon Date: Thu, 29 Apr 2021 09:21:25 +0000 (-0500) Subject: Improve variable name in Cursor.items X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=efe403fd09d0928ff431770934b5268c18755433;p=tweepy.git Improve variable name in Cursor.items --- diff --git a/tweepy/cursor.py b/tweepy/cursor.py index aabd948..9163531 100644 --- a/tweepy/cursor.py +++ b/tweepy/cursor.py @@ -69,9 +69,9 @@ class Cursor: ItemIterator Iterator to iterate through items """ - i = ItemIterator(self.iterator) - i.limit = limit - return i + iterator = ItemIterator(self.iterator) + iterator.limit = limit + return iterator class BaseIterator: