From a66af8b827b67d9785e0f9dbecea2ac14018c273 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Wed, 9 Jul 2025 10:41:22 +0200 Subject: [PATCH] [3.13] gh-136162: Clean up `encodings` package documentation (#136456) Remove docs of functions not yet implemented in 3.13 --- Doc/library/codecs.rst | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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 -- 2.47.3