Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Oct 21, 2021
1 parent 18f18e0 commit eac8e7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tqdm/std.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,8 +1165,7 @@ def __iter__(self):
# 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
Expand Down

0 comments on commit eac8e7b

Please sign in to comment.