Unverified Kaydet (Commit) 54cc0c07 authored tarafından Victor Stinner's avatar Victor Stinner Kaydeden (comit) GitHub

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

üst 28ab3ce9
...@@ -112,23 +112,33 @@ complete listing. ...@@ -112,23 +112,33 @@ complete listing.
Return the absolute value of ``x``. Return the absolute value of ``x``.
.. versionadded:: 3.3
.. c:macro:: Py_MIN(x, y) .. c:macro:: Py_MIN(x, y)
Return the minimum value between ``x`` and ``y``. Return the minimum value between ``x`` and ``y``.
.. versionadded:: 3.3
.. c:macro:: Py_MAX(x, y) .. c:macro:: Py_MAX(x, y)
Return the maximum value between ``x`` and ``y``. Return the maximum value between ``x`` and ``y``.
.. versionadded:: 3.3
.. c:macro:: Py_STRINGIFY(x) .. c:macro:: Py_STRINGIFY(x)
Convert ``x`` to a C string. E.g. ``Py_STRINGIFY(123)`` returns Convert ``x`` to a C string. E.g. ``Py_STRINGIFY(123)`` returns
``"123"``. ``"123"``.
.. versionadded:: 3.4
.. c:macro:: Py_MEMBER_SIZE(type, member) .. c:macro:: Py_MEMBER_SIZE(type, member)
Return the size of a structure (``type``) ``member`` in bytes. Return the size of a structure (``type``) ``member`` in bytes.
.. versionadded:: 3.6
.. c:macro:: Py_CHARMASK(c) .. c:macro:: Py_CHARMASK(c)
Argument must be a character or an integer in the range [-128, 127] or [0, Argument must be a character or an integer in the range [-128, 127] or [0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment