[Python-checkins] Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
Serhiy Storchaka
webhook-mailer at python.org
Wed Nov 8 08:11:20 EST 2017
https://github.com/python/cpython/commit/8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86
commit: 8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86
branch: master
author: Petr Viktorin <encukou at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2017-11-08T15:11:16+02:00
summary:
Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f
files:
M Doc/c-api/intro.rst
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst
index e654c4c0126..de7139bc17f 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``.
More information about the Python-checkins
mailing list