Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger committed Mar 13, 2016
2 parents 0ce835f + a503f70 commit 5f6209a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/itertools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ which incur interpreter overhead.
try:
if first is not None:
yield first() # For database APIs needing an initial cast to db.first()
while 1:
while True:
yield func()
except exception:
pass
Expand Down

0 comments on commit 5f6209a

Please sign in to comment.