Skip to content

Commit bc6a2f9

Browse files
Note name, link dict
1 parent d748c22 commit bc6a2f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/codecs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ any codec:
5757

5858
Return a mapping suitable for decoding a custom single-byte encoding.
5959
Given a :class:`str` *string* of up to 256 characters representing an
60-
encoding table, returns either a compact internal mapping object or a
61-
dictionary mapping character ordinals to byte values.
60+
encoding table, returns either a compact internal mapping object
61+
``EncodingMap`` or a :class:`dictionary <dict>` mapping character ordinals to byte values.
6262
Raises a :exc:`TypeError` on invalid input.
6363

6464
The full details for each codec can also be looked up directly:

0 commit comments

Comments
 (0)