]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471)
authorPetr Viktorin <encukou@gmail.com>
Fri, 6 Feb 2026 10:55:11 +0000 (11:55 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Feb 2026 10:55:11 +0000 (11:55 +0100)
commitf85e1170d2b22d2ee42cd568144e0c9f57b0db67
tree064b4f74368055f40cee1ccd899f4c935e680596
parentcf60e0c4527b910c93c85e257e33c8b966c7e810
gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471)

- Group the macros
- Roughly order them to put the most important ones first
- Add expansions where it makes sense; especially if there's
  an equivalent in modern C or a common compiler

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Doc/c-api/intro.rst