diff options
author | Petr Viktorin <encukou@gmail.com> | 2017-11-08 14:11:16 +0100 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-08 15:11:16 +0200 |
commit | 8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86 (patch) | |
tree | 534c523a95b4025a1000a53a01a621b21da6cfba | |
parent | 7973e279a21999f134aff92dd6d344ec4591fae9 (diff) | |
download | cpython-git-8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86.tar.gz |
Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f
-rw-r--r-- | Doc/c-api/intro.rst | 2 |
1 files changed, 2 insertions, 0 deletions
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``. |