]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
authorPetr Viktorin <encukou@gmail.com>
Wed, 8 Nov 2017 13:11:16 +0000 (14:11 +0100)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 8 Nov 2017 13:11:16 +0000 (15:11 +0200)
The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f

Doc/c-api/intro.rst

index e654c4c012651ebefe52b3c0c568061de4a15eca..de7139bc17f910607ef59d733aa2fb2f605aef0f 100644 (file)
@@ -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``.