We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
normalize_encoding
1 parent ce34410 commit ed2e9abCopy full SHA for ed2e9ab
Lib/encodings/__init__.py
@@ -49,8 +49,7 @@ def normalize_encoding(encoding):
49
collapsed and replaced with a single underscore, e.g. ' -;#'
50
becomes '_'. Leading and trailing underscores are removed.
51
52
- Note that encoding names should be ASCII only; if they do use
53
- non-ASCII characters, these must be Latin-1 compatible.
+ Note that encoding names should be ASCII only.
54
55
"""
56
if isinstance(encoding, bytes):
0 commit comments