]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-136162: Clean up `encodings` package documentation (#136456)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Wed, 9 Jul 2025 08:41:22 +0000 (10:41 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Jul 2025 08:41:22 +0000 (10:41 +0200)
Remove docs of functions not yet implemented in 3.13

Doc/library/codecs.rst

index 0d38e00745b08d7aab155ec5f24cf0b5fb98617d..437289c880c852e868dfcd6f0bc442f4acd1be02 100644 (file)
@@ -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