From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 6 Nov 2025 13:48:42 +0000 (+0000) Subject: gh-141004: Document `Py_hexdigits` (GH-141059) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54110e20e0ed0584e159c42d9f57516c1a3b997a;p=thirdparty%2FPython%2Fcpython.git gh-141004: Document `Py_hexdigits` (GH-141059) Co-authored-by: Victor Stinner --- diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 08a99245ad65..35ee048bd5fa 100644 --- a/Doc/c-api/codec.rst +++ b/Doc/c-api/codec.rst @@ -129,3 +129,13 @@ 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 lowercase hexadecimal digits: ``"0123456789abcdef"``. + + .. versionadded:: 3.3