From 88750669b9a7462ce4bfda108e62ae05790d084b Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Wed, 5 Nov 2025 17:11:27 +0000 Subject: [PATCH 1/3] Commit --- Doc/c-api/codec.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 08a99245ad6528..78674e587f34d5 100644 --- a/Doc/c-api/codec.rst +++ b/Doc/c-api/codec.rst @@ -129,3 +129,11 @@ Registry API for Unicode encoding error handlers Replace the unicode encode error with ``\N{...}`` escapes. .. versionadded:: 3.5 + + +Codec utility variables +----------------------- + +.. c:var:: const char *Py_hexdigits + + A string constant containing the hexadecimal digits ``"0123456789abcdef"``. From f80a0eb6e221b708376e8911c207b28a2568defe Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Wed, 5 Nov 2025 20:20:04 +0000 Subject: [PATCH 2/3] Update Doc/c-api/codec.rst Co-authored-by: Victor Stinner --- Doc/c-api/codec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 78674e587f34d5..6dbfa569d277fd 100644 --- a/Doc/c-api/codec.rst +++ b/Doc/c-api/codec.rst @@ -136,4 +136,4 @@ Codec utility variables .. c:var:: const char *Py_hexdigits - A string constant containing the hexadecimal digits ``"0123456789abcdef"``. + A string constant containing the lowercase hexadecimal digits: ``"0123456789abcdef"``. From e2c894100df6f22278764983f10a5c5da0933e29 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Wed, 5 Nov 2025 20:57:29 +0000 Subject: [PATCH 3/3] Commit --- Doc/c-api/codec.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 6dbfa569d277fd..35ee048bd5fa9f 100644 --- a/Doc/c-api/codec.rst +++ b/Doc/c-api/codec.rst @@ -137,3 +137,5 @@ Codec utility variables .. c:var:: const char *Py_hexdigits A string constant containing the lowercase hexadecimal digits: ``"0123456789abcdef"``. + + .. versionadded:: 3.3