diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-05 23:02:33 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-05 23:02:33 (GMT) |
commit | 8456f64ce2ce992f42b65d86456baa0e5aeee459 (patch) | |
tree | 19b6d643bc455933f74c6932dc24747abb44df34 | |
parent | 30dc7b8ce27451f7d06099d985d93c09d55567ad (diff) | |
download | cpython-8456f64ce2ce992f42b65d86456baa0e5aeee459.zip cpython-8456f64ce2ce992f42b65d86456baa0e5aeee459.tar.gz cpython-8456f64ce2ce992f42b65d86456baa0e5aeee459.tar.bz2 |
revert 63965 for preformance reasons
-rw-r--r-- | Lib/tokenize.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tokenize.py b/Lib/tokenize.py index 8d2b4aa..0f68b40 100644 --- a/Lib/tokenize.py +++ b/Lib/tokenize.py @@ -281,7 +281,7 @@ def generate_tokens(readline): contline = None indents = [0] - while True: # loop over lines in stream + while 1: # loop over lines in stream try: line = readline() except StopIteration: |