Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8bf288e

Browse files
encukouserhiy-storchaka
authored andcommitted
Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
The macro was added for bpo-31338 in commit b2e5794
1 parent 7973e27 commit 8bf288e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/c-api/intro.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ complete listing.
106106
all possible values are covered in ``case`` statements. Use this in places
107107
where you might be tempted to put an ``assert(0)`` or ``abort()`` call.
108108

109+
.. versionadded:: 3.7
110+
109111
.. c:macro:: Py_ABS(x)
110112
111113
Return the absolute value of ``x``.

0 commit comments

Comments
 (0)