Skip to content

Commit 711443c

Browse files
Add codecs.lookup to note
1 parent 76a355d commit 711443c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/codecs.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,8 @@ mapping. It is not supported by :meth:`str.encode` (which only produces
14851485
This module implements the following functions:
14861486

14871487
.. note::
1488-
These functions should not be used directly, except for testing purposes.
1488+
These functions should not be used directly, except for testing purposes;
1489+
:func:`codecs.lookup` should be used instead.
14891490

14901491
.. function:: normalize_encoding(encoding)
14911492

0 commit comments

Comments
 (0)