From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Wed, 9 Jul 2025 08:41:22 +0000 (+0200) Subject: [3.13] gh-136162: Clean up `encodings` package documentation (#136456) X-Git-Tag: v3.13.6~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a66af8b827b67d9785e0f9dbecea2ac14018c273;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-136162: Clean up `encodings` package documentation (#136456) Remove docs of functions not yet implemented in 3.13 --- diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 0d38e00745b0..437289c880c8 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1508,7 +1508,7 @@ This module implements the following functions: .. note:: - The following functions should not be used directly, except for testing + The following function should not be used directly, except for testing purposes; :func:`codecs.lookup` should be used instead. @@ -1528,18 +1528,6 @@ This module implements the following functions: are registered for future use. -.. function:: win32_code_page_search_function(encoding) - - Search for a Windows code page encoding *encoding* of the form ``cpXXXX``. - - If the code page is valid and supported, return a :class:`codecs.CodecInfo` - object for it. - - .. availability:: Windows. - - .. versionadded:: 3.14 - - This module implements the following exception: .. exception:: CodecRegistryError