From ad1c183032f91027291f898a8f04b12876f32025 Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Tue, 12 Oct 2021 09:59:53 +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 bc83e061..6142b1b9 100644 --- a/tqdm/std.py +++ b/tqdm/std.py @@ -1165,8 +1165,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