mirror of https://github.com/python/cpython
revert 63965 for preformance reasons
This commit is contained in:
parent
30dc7b8ce2
commit
8456f64ce2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue