mirror of https://github.com/tqdm/tqdm.git
'Refactored by Sourcery'
This commit is contained in:
parent
5a980e146c
commit
21b45243b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue