]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-76637: Note that `undefined` Codec is for testing (#136531)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Fri, 11 Jul 2025 10:50:21 +0000 (12:50 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 10:50:21 +0000 (12:50 +0200)
Closes #76637

Doc/library/codecs.rst

index 37bd913b765d2149589b16da99b08005d6d02e92..c5dae7c8e8fd0464299780f95abda0757178ff39 100644 (file)
@@ -1395,7 +1395,11 @@ encodings.
 |                    |         | It is used in the Python  |
 |                    |         | pickle protocol.          |
 +--------------------+---------+---------------------------+
-| undefined          |         | Raise an exception for    |
+| undefined          |         | This Codec should only    |
+|                    |         | be used for testing       |
+|                    |         | purposes.                 |
+|                    |         |                           |
+|                    |         | Raise an exception for    |
 |                    |         | all conversions, even     |
 |                    |         | empty strings. The error  |
 |                    |         | handler is ignored.       |