summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-05 23:02:33 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-05 23:02:33 (GMT)
commit8456f64ce2ce992f42b65d86456baa0e5aeee459 (patch)
tree19b6d643bc455933f74c6932dc24747abb44df34 /Lib
parent30dc7b8ce27451f7d06099d985d93c09d55567ad (diff)
downloadcpython-8456f64ce2ce992f42b65d86456baa0e5aeee459.zip
cpython-8456f64ce2ce992f42b65d86456baa0e5aeee459.tar.gz
cpython-8456f64ce2ce992f42b65d86456baa0e5aeee459.tar.bz2
revert 63965 for preformance reasons
Diffstat (limited to 'Lib')
-rw-r--r--Lib/tokenize.py2
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: