From c0fc47a05f71c7558610e2d67ff9a178f332ec39 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 8 Feb 2022 18:45:40 +0100 Subject: [PATCH] PEP 7: prefer static inline functions (#2315) --- pep-0007.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pep-0007.txt b/pep-0007.txt index 43add0f1f..39c955d36 100644 --- a/pep-0007.txt +++ b/pep-0007.txt @@ -58,6 +58,9 @@ C dialect * No compiler warnings with major compilers (gcc, VC++, a few others). +* ``static inline`` functions should be preferred over macros in new + code. + Code lay-out ============