File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ def _get_normal_name(orig_enc):
252252def detect_encoding (readline ):
253253 """
254254 The detect_encoding() function is used to detect the encoding that should
255- be used to decode a Python source file. It requires one argment , readline,
255+ be used to decode a Python source file. It requires one argument , readline,
256256 in the same way as the tokenize() generator.
257257
258258 It will call readline a maximum of twice, and return the encoding used
@@ -343,7 +343,7 @@ def untokenize(iterable):
343343
344344def generate_tokens (readline ):
345345 """
346- The generate_tokens() generator requires one argment , readline, which
346+ The generate_tokens() generator requires one argument , readline, which
347347 must be a callable object which provides the same interface as the
348348 readline() method of built-in file objects. Each call to the function
349349 should return one line of input as a string. Alternately, readline
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ def _get_normal_name(orig_enc):
333333def detect_encoding (readline ):
334334 """
335335 The detect_encoding() function is used to detect the encoding that should
336- be used to decode a Python source file. It requires one argment , readline,
336+ be used to decode a Python source file. It requires one argument , readline,
337337 in the same way as the tokenize() generator.
338338
339339 It will call readline a maximum of twice, and return the encoding used
You can’t perform that action at this time.
0 commit comments