mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#19620: merge with 3.3.
This commit is contained in:
commit
5833c00427
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue