From: Petr Viktorin Date: Wed, 8 Nov 2017 13:11:16 +0000 (+0100) Subject: Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337) X-Git-Tag: v3.7.0a3~212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86;p=thirdparty%2FPython%2Fcpython.git Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337) The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f --- diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst index e654c4c01265..de7139bc17f9 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``.