summaryrefslogtreecommitdiffstats
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-06-03 22:05:15 (GMT)
committerGuido van Rossum <guido@python.org>1997-06-03 22:05:15 (GMT)
commit2b1566be9d22daaaac7ad5198a415db5336bf034 (patch)
tree088816d8beb4f8bfb0018f85e8d512d6c6bfe41f /Lib/tokenize.py
parent9115eb522e1227c3b31483a4bcf4cdfb4d63ec8a (diff)
downloadcpython-2b1566be9d22daaaac7ad5198a415db5336bf034.zip
cpython-2b1566be9d22daaaac7ad5198a415db5336bf034.tar.gz
cpython-2b1566be9d22daaaac7ad5198a415db5336bf034.tar.bz2
Correct typo in last line (test program invocation).
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 edbaa79..fc1d45b 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -190,4 +190,4 @@ def tokenize(readline, tokeneater=printtoken):
if __name__ == '__main__': # testing
import sys
if len(sys.argv) > 1: tokenize(open(sys.argv[1]).readline)
- else: tokenize(syss.tdin.readline)
+ else: tokenize(sys.stdin.readline)