From fdc30ef67b12b4a15ce01e15076a5ad0472bdcd1 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Fri, 11 Jul 2025 12:50:21 +0200 Subject: [PATCH] gh-76637: Note that `undefined` Codec is for testing (GH-136531) Closes GH-76637 (cherry picked from commit 975b57d945c84000949f241ded8f44413ecc6217) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> --- Doc/library/codecs.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index a8f8c884d218a6..ec0644279e738d 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1384,7 +1384,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. |