projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30dc7b8
)
revert 63965 for preformance reasons
author
Benjamin Peterson
<benjamin@python.org>
Thu, 5 Jun 2008 23:02:33 +0000
(23:02 +0000)
committer
Benjamin Peterson
<benjamin@python.org>
Thu, 5 Jun 2008 23:02:33 +0000
(23:02 +0000)
Lib/tokenize.py
patch
|
blob
|
history
diff --git
a/Lib/tokenize.py
b/Lib/tokenize.py
index 8d2b4aaba2b9553f7895cec7647323819154d68f..0f68b4034bae2952a8135eadaa9006cddcf53df1 100644
(file)
--- 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: