[Python-checkins] bpo-31338: C API intro: add missing versionadded (#4339)

Victor Stinner webhook-mailer at python.org
Wed Nov 8 09:06:26 EST 2017


https://github.com/python/cpython/commit/54cc0c0789af8ff2396cb19095b7ab269f2bc06c
commit: 54cc0c0789af8ff2396cb19095b7ab269f2bc06c
branch: master
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-11-08T06:06:24-08:00
summary:

bpo-31338: C API intro: add missing versionadded (#4339)

files:
M Doc/c-api/intro.rst

diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst
index de7139bc17f..63231808b4a 100644
--- a/Doc/c-api/intro.rst
+++ b/Doc/c-api/intro.rst
@@ -112,23 +112,33 @@ complete listing.
 
    Return the absolute value of ``x``.
 
+   .. versionadded:: 3.3
+
 .. c:macro:: Py_MIN(x, y)
 
    Return the minimum value between ``x`` and ``y``.
 
+   .. versionadded:: 3.3
+
 .. c:macro:: Py_MAX(x, y)
 
    Return the maximum value between ``x`` and ``y``.
 
+   .. versionadded:: 3.3
+
 .. c:macro:: Py_STRINGIFY(x)
 
    Convert ``x`` to a C string.  E.g. ``Py_STRINGIFY(123)`` returns
    ``"123"``.
 
+   .. versionadded:: 3.4
+
 .. c:macro:: Py_MEMBER_SIZE(type, member)
 
    Return the size of a structure (``type``) ``member`` in bytes.
 
+   .. versionadded:: 3.6
+
 .. c:macro:: Py_CHARMASK(c)
 
    Argument must be a character or an integer in the range [-128, 127] or [0,



More information about the Python-checkins mailing list