summaryrefslogtreecommitdiffstats
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tokenize.py')
-rw-r--r--Lib/tokenize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tokenize.py b/Lib/tokenize.py
index 0f68b40..8d2b4aa 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -281,7 +281,7 @@ def generate_tokens(readline):
contline = None
indents = [0]
- while 1: # loop over lines in stream
+ while True: # loop over lines in stream
try:
line = readline()
except StopIteration: