Skip to content

Commit 367bdf2

Browse files
Simplify
1 parent f6b9710 commit 367bdf2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/codecs.rst

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

5858
Return a mapping suitable for decoding a custom single-byte encoding.
5959
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.
60+
table, returns a dictionary mapping character ordinals to byte values.
61+
Raises a :exc:`TypeError` on invalid input.
6362

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

0 commit comments

Comments
 (0)