Skip to content

Commit 5dcb022

Browse files
committed
minor syntax update
1 parent 309effe commit 5dcb022

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎tqdm/std.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,8 +1172,7 @@ def __iter__(self):
11721172
# If the bar is disabled, then just walk the iterable
11731173
# (note: keep this check outside the loop for performance)
11741174
if self.disable:
1175-
for obj in iterable:
1176-
yield obj
1175+
yield from iterable
11771176
return
11781177

11791178
mininterval = self.mininterval

0 commit comments

Comments
 (0)