Commit 8bf288e2 authored by Petr Viktorin's avatar Petr Viktorin Committed by Serhiy Storchaka

Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)

The macro was added for bpo-31338 in commit b2e57948
parent 7973e279
...@@ -106,6 +106,8 @@ complete listing. ...@@ -106,6 +106,8 @@ complete listing.
all possible values are covered in ``case`` statements. Use this in places 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. where you might be tempted to put an ``assert(0)`` or ``abort()`` call.
.. versionadded:: 3.7
.. c:macro:: Py_ABS(x) .. c:macro:: Py_ABS(x)
Return the absolute value of ``x``. Return the absolute value of ``x``.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment