From 21b45243b70b8c6f8199f181a6411bdc69f65739 Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Mon, 11 Oct 2021 15:43:17 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- tqdm/std.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tqdm/std.py b/tqdm/std.py index 0312ada9..4ead1311 100644 --- a/tqdm/std.py +++ b/tqdm/std.py @@ -1202,8 +1202,7 @@ class tqdm(Comparable): # If the bar is disabled, then just walk the iterable # (note: keep this check outside the loop for performance) if self.disable: - for obj in iterable: - yield obj + yield from iterable return mininterval = self.mininterval