diff --git a/tqdm/std.py b/tqdm/std.py index d4bc37d7..638d7f46 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