Skip to content

Commit 76a355d

Browse files
Commit win32_code_page_search_function doc
1 parent 11471db commit 76a355d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Doc/library/codecs.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,18 @@ This module implements the following functions:
15151515
are registered for future use.
15161516

15171517

1518+
.. function:: win32_code_page_search_function(encoding)
1519+
1520+
Search for a Windows code page encoding *encoding* of the form ``cpXXXX``.
1521+
1522+
If the code page is valid and supported, return a :class:`codecs.CodecInfo`
1523+
object for it.
1524+
1525+
.. availability:: Windows.
1526+
1527+
.. versionadded:: 3.14
1528+
1529+
15181530
This module implements the following exception:
15191531

15201532
.. exception:: CodecRegistryError

0 commit comments

Comments
 (0)