summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2017-11-08 13:11:16 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-11-08 13:11:16 (GMT)
commit8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86 (patch)
tree534c523a95b4025a1000a53a01a621b21da6cfba /Doc/c-api
parent7973e279a21999f134aff92dd6d344ec4591fae9 (diff)
downloadcpython-8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86.zip
cpython-8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86.tar.gz
cpython-8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86.tar.bz2
Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/intro.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst
index e654c4c..de7139b 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``.