bpo-31338: Mention that Py_UNREACHABLE was added in 3.7 by encukou · Pull Request #4337 · python/cpython
Conversation
The macro was added for bpo-31338 in commit b2e5794
serhiy-storchaka
changed the title
Docs: Mention that Py_UNREACHABLE was added in 3.7
bpo-31338: Mention that Py_UNREACHABLE was added in 3.7
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a follow-up PR: PR #4339, to add other missing versionadded markups on C macros.
|
|
||
| .. c:macro:: Py_ABS(x) | ||
|
|
||
| Return the absolute value of ``x``. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you add versionadded, you may also document:
- Py_MIN, Py_MAX, Py_ABS: Python 3.3
- Py_STRINGIFY: Python 3.4
- Py_MEMBER_SIZE: Python 3.6
embray pushed a commit to embray/cpython that referenced this pull request
The macro was added for bpo-31338 in commit b2e5794
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters