From efe403fd09d0928ff431770934b5268c18755433 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 29 Apr 2021 04:21:25 -0500 Subject: [PATCH] Improve variable name in Cursor.items --- tweepy/cursor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.25.1