diff options
author | Raymond Hettinger <python@rcn.com> | 2016-03-13 00:12:49 -0800 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-03-13 00:12:49 -0800 |
commit | 089e81e13e0d38752d3dca0f2f0f6022733f7257 (patch) | |
tree | 98748adeac4ba43b69cc6b631a2cb9628bf3d8e6 /Doc | |
parent | d6655d5056a3f6cef0aad98bd8d85a5fd85e2517 (diff) | |
parent | 5bf391250c681a263ccfd8b535a2cb6054c92347 (diff) | |
download | cpython-089e81e13e0d38752d3dca0f2f0f6022733f7257.tar.gz |
merge
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index a9d10736d1..758e49b282 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -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 |