diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-10-04 23:32:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 23:32:27 (GMT) |
commit | 6b3d4db02edc5883a7e7cbe088711edaef0d9853 (patch) | |
tree | fa00a8516d00f0203b5eeff570a6e295586f3ac8 /Doc/c-api/structures.rst | |
parent | 192d401ba53224020f5f9ca6e1ff2c9f89511ac4 (diff) | |
download | cpython-6b3d4db02edc5883a7e7cbe088711edaef0d9853.zip cpython-6b3d4db02edc5883a7e7cbe088711edaef0d9853.tar.gz cpython-6b3d4db02edc5883a7e7cbe088711edaef0d9853.tar.bz2 |
gh-93738: Documentation C syntax (:c:type: to :c:expr:, misc. cases) (#97775)
* :c:type: to :c:expr:
* Update Doc/whatsnew/2.4.rst
Diffstat (limited to 'Doc/c-api/structures.rst')
-rw-r--r-- | Doc/c-api/structures.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 1cc5c46..76803a0 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -103,7 +103,7 @@ the definition of all other Python objects. .. versionchanged:: 3.11 :c:func:`Py_TYPE()` is changed to an inline static function. - The parameter type is no longer :c:type:`const PyObject*`. + The parameter type is no longer :c:expr:`const PyObject*`. .. c:function:: int Py_IS_TYPE(PyObject *o, PyTypeObject *type) @@ -128,7 +128,7 @@ the definition of all other Python objects. Use the :c:func:`Py_SET_REFCNT()` function to set an object reference count. .. versionchanged:: 3.11 - The parameter type is no longer :c:type:`const PyObject*`. + The parameter type is no longer :c:expr:`const PyObject*`. .. versionchanged:: 3.10 :c:func:`Py_REFCNT()` is changed to the inline static function. @@ -149,7 +149,7 @@ the definition of all other Python objects. .. versionchanged:: 3.11 :c:func:`Py_SIZE()` is changed to an inline static function. - The parameter type is no longer :c:type:`const PyVarObject*`. + The parameter type is no longer :c:expr:`const PyVarObject*`. .. c:function:: void Py_SET_SIZE(PyVarObject *o, Py_ssize_t size) |