bpo-31338: C API intro: add missing versionadded (#4339) · python/cpython@54cc0c0 (original) (raw)

Original file line number Diff line number Diff line change
@@ -112,23 +112,33 @@ complete listing.
112 112
113 113 Return the absolute value of ``x``.
114 114
115 + .. versionadded:: 3.3
116 +
115 117 .. c:macro:: Py_MIN(x, y)
116 118
117 119 Return the minimum value between ``x`` and ``y``.
118 120
121 + .. versionadded:: 3.3
122 +
119 123 .. c:macro:: Py_MAX(x, y)
120 124
121 125 Return the maximum value between ``x`` and ``y``.
122 126
127 + .. versionadded:: 3.3
128 +
123 129 .. c:macro:: Py_STRINGIFY(x)
124 130
125 131 Convert ``x`` to a C string. E.g. ``Py_STRINGIFY(123)`` returns
126 132 ``"123"``.
127 133
134 + .. versionadded:: 3.4
135 +
128 136 .. c:macro:: Py_MEMBER_SIZE(type, member)
129 137
130 138 Return the size of a structure (``type``) ``member`` in bytes.
131 139
140 + .. versionadded:: 3.6
141 +
132 142 .. c:macro:: Py_CHARMASK(c)
133 143
134 144 Argument must be a character or an integer in the range [-128, 127] or [0,