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)
commit4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090 (patch)
treef79bf7d1e0ba0a7cab339f4ed8e72630c73ebd99 /Lib/tokenize.py
parent97fc2ba6bf4624a7cec376019f3a86a5a5db5967 (diff)
downloadcpython-4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090.zip
cpython-4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090.tar.gz
cpython-4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090.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 f1e61d8..d0609e8 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -333,7 +333,7 @@ def _get_normal_name(orig_enc):
def detect_encoding(readline):
"""
The detect_encoding() function is used to detect the encoding that should
- be used to decode a Python source file. It requires one argment, readline,
+ be used to decode a Python source file. It requires one argument, readline,
in the same way as the tokenize() generator.
It will call readline a maximum of twice, and return the encoding used