From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Fri, 11 Jul 2025 10:50:21 +0000 (+0200) Subject: gh-76637: Note that `undefined` Codec is for testing (#136531) X-Git-Tag: v3.15.0a1~1016 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=975b57d945c84000949f241ded8f44413ecc6217;p=thirdparty%2FPython%2Fcpython.git gh-76637: Note that `undefined` Codec is for testing (#136531) Closes #76637 --- diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 37bd913b765d..c5dae7c8e8fd 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -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. |