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.
1 parent f6b9710 commit 367bdf2Copy full SHA for 367bdf2
Doc/library/codecs.rst
@@ -57,9 +57,8 @@ any codec:
57
58
Return a mapping suitable for decoding a custom single-byte encoding.
59
Given a string *string* of up to 256 characters representing an encoding
60
- table, returns either a compact internal mapping object or a dictionary
61
- mapping character ordinals to byte values. Raises a :exc:`TypeError`
62
- on invalid input.
+ table, returns a dictionary mapping character ordinals to byte values.
+ Raises a :exc:`TypeError` on invalid input.
63
64
The full details for each codec can also be looked up directly:
65
0 commit comments