From 84267cc20650fb5efd24603525089a487db5a986 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 12 Jan 2026 12:21:14 +0100 Subject: [PATCH] [3.14] gh-143578: Restore note about patchlevel.h (GH-143596) (cherry picked from commit bd83a57463af70f0706c5d3f5873f881b49b9c06) Co-authored-by: Petr Viktorin Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/c-api/apiabiversion.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/c-api/apiabiversion.rst b/Doc/c-api/apiabiversion.rst index 96050f59bd5250..6396a424f44d14 100644 --- a/Doc/c-api/apiabiversion.rst +++ b/Doc/c-api/apiabiversion.rst @@ -46,6 +46,8 @@ See :ref:`stable` for a discussion of API and ABI stability across versions. Use this for numeric comparisons, for example, ``#if PY_VERSION_HEX >= ...``. +These macros are defined in :source:`Include/patchlevel.h`. + Run-time version ----------------