From 4bcc796acc17f8ab7eeaa3f7faa6a61135b2c090 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 25 Nov 2013 05:14:51 +0200 Subject: #19620: Fix typo in docstring (noticed by Christopher Welborn). --- Lib/tokenize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/tokenize.py') diff --git a/Lib/tokenize.py b/Lib/tokenize.py index f1e61d8ad5..d0609e8545 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 -- cgit v1.2.1