]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141004: Document `Py_hexdigits` (GH-141059)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 6 Nov 2025 13:48:42 +0000 (13:48 +0000)
committerGitHub <noreply@github.com>
Thu, 6 Nov 2025 13:48:42 +0000 (08:48 -0500)
Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/c-api/codec.rst

index 08a99245ad6528f139dd6f0107859ce917a8eb36..35ee048bd5fa9f575b02a58c5e830e329b245a62 100644 (file)
@@ -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