summaryrefslogtreecommitdiffstats
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-11-25 03:14:51 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-11-25 03:14:51 (GMT)
commit2612679ddc202ff684ea525142d2802c962b4f64 (patch)
treed513db98d21c87c54c06492a0acae766d4a3bec2 /Lib/tokenize.py
parentef153618d6869db43cf84acd0b2268e948c055e2 (diff)
downloadcpython-2612679ddc202ff684ea525142d2802c962b4f64.zip
cpython-2612679ddc202ff684ea525142d2802c962b4f64.tar.gz
cpython-2612679ddc202ff684ea525142d2802c962b4f64.tar.bz2
#19620: Fix typo in docstring (noticed by Christopher Welborn).
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 ca7b074..db02134 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -263,7 +263,7 @@ def untokenize(iterable):
def generate_tokens(readline):
"""
- The generate_tokens() generator requires one argment, readline, which
+ The generate_tokens() generator requires one argument, readline, which
must be a callable object which provides the same interface as the
readline() method of built-in file objects. Each call to the function
should return one line of input as a string. Alternately, readline