Skip to content
Browse files

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

The macro was added for bpo-31338 in commit b2e5794
  • Loading branch information...
encukou authored and serhiy-storchaka committed Nov 8, 2017
1 parent 7973e27 commit 8bf288e2c5330148e4bd07d9c2f1ccd05ced5a86
Showing with 2 additions and 0 deletions.
  1. +2 −0 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``.

0 comments on commit 8bf288e

Please sign in to comment.
You can’t perform that action at this time.