commit | 30dc7b8ce27451f7d06099d985d93c09d55567ad | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Jun 05 22:39:34 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Jun 05 22:39:34 2008 +0000 |
tree | f9823781ef63724775b8a61e592efee94bddc70c | |
parent | 59475e97399fa7691fab6d01cd8df7db70b0dba6 [diff] |
use the more idomatic while True
diff --git a/Lib/tokenize.py b/Lib/tokenize.py index 0f68b40..8d2b4aa 100644 --- a/Lib/tokenize.py +++ b/Lib/tokenize.py
@@ -281,7 +281,7 @@ contline = None indents = [0] - while 1: # loop over lines in stream + while True: # loop over lines in stream try: line = readline() except StopIteration: