summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
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 fdc5cbf..31366de 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -337,7 +337,7 @@ def _tokenize(readline, encoding):
if encoding is not None:
yield (ENCODING, encoding, (0, 0), (0, 0), '')
- while 1: # loop over lines in stream
+ while True: # loop over lines in stream
try:
line = readline()
except StopIteration: