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

The macro was added for bpo-31338 in commit b2e5794870
This commit is contained in:
Petr Viktorin 2017-11-08 14:11:16 +01:00 committed by Serhiy Storchaka
parent 7973e279a2
commit 8bf288e2c5
1 changed files with 2 additions and 0 deletions

View 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``.