From 8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 8 Nov 2017 14:11:16 +0100 Subject: [PATCH] Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337) The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f --- Doc/c-api/intro.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst index e654c4c012..de7139bc17 100644 --- a/Doc/c-api/intro.rst +++ b/Doc/c-api/intro.rst @@ -106,6 +106,8 @@ complete listing. all possible values are covered in ``case`` statements. Use this in places where you might be tempted to put an ``assert(0)`` or ``abort()`` call. + .. versionadded:: 3.7 + .. c:macro:: Py_ABS(x) Return the absolute value of ``x``. -- 2.50.1