'Refactored by Sourcery'

This commit is contained in:
Sourcery AI 2021-12-15 09:10:17 +00:00
parent cbb3d2122c
commit 33d19a080b
1 changed files with 1 additions and 2 deletions

View File

@ -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