From 8456f64ce2ce992f42b65d86456baa0e5aeee459 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 5 Jun 2008 23:02:33 +0000 Subject: revert 63965 for preformance reasons --- Lib/tokenize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12