'Refactored by Sourcery'

This commit is contained in:
Sourcery AI 2021-10-11 15:43:17 +00:00
parent 5a980e146c
commit 21b45243b7
1 changed files with 1 additions and 2 deletions

View File

@ -1202,8 +1202,7 @@ class tqdm(Comparable):
# If the bar is disabled, then just walk the iterable # If the bar is disabled, then just walk the iterable
# (note: keep this check outside the loop for performance) # (note: keep this check outside the loop for performance)
if self.disable: if self.disable:
for obj in iterable: yield from iterable
yield obj
return return
mininterval = self.mininterval mininterval = self.mininterval