]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Feb 2026 11:50:06 +0000 (12:50 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Feb 2026 11:50:06 +0000 (12:50 +0100)
commit3fe97357ce5508f903a9022d7f0392d159a0ee77
tree02681176a81b8cde6278a9b955ec329a19d8d2cd
parent160810de89477836f2fde7139f7ab0670399efff
[3.14] gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471) (GH-144541)

- 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

(cherry picked from commit f85e1170d2b22d2ee42cd568144e0c9f57b0db67)

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