From ded147f2265fbac8f0a6c87b40473eead4d0dcd1 Mon Sep 17 00:00:00 2001 From: mPadovani74 Date: Sun, 15 Nov 2026 22:27:12 -0300 Subject: [PATCH] gh-162055: Remove duplicated note in the C API introduction The note about including Python.h before any standard header appeared twice in Doc/c-api/intro.rst, once under "Include Files" and again under "System includes". Keep the first one, where it is relevant. --- Doc/c-api/intro.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst index 77eefc9c1f23ec..0ac5d28137097a 100644 --- a/Doc/c-api/intro.rst +++ b/Doc/c-api/intro.rst @@ -140,12 +140,6 @@ System includes * ```` * ```` -.. note:: - - Since Python may define some pre-processor definitions which affect the standard - headers on some systems, you *must* include :file:`Python.h` before any standard - headers are included. - Useful macros =============