summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/tuple.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/tuple.rst')
-rw-r--r--Doc/c-api/tuple.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst
index 6919e61..9b85522 100644
--- a/Doc/c-api/tuple.rst
+++ b/Doc/c-api/tuple.rst
@@ -91,7 +91,7 @@ Tuple Objects
.. note::
- This macro "steals" a reference to *o*, and, unlike
+ This function "steals" a reference to *o*, and, unlike
:c:func:`PyTuple_SetItem`, does *not* discard a reference to any item that
is being replaced; any reference in the tuple at position *pos* will be
leaked.
@@ -215,7 +215,8 @@ type.
.. c:function:: void PyStructSequence_SET_ITEM(PyObject *p, Py_ssize_t *pos, PyObject *o)
- Macro equivalent of :c:func:`PyStructSequence_SetItem`.
+ Similar to :c:func:`PyStructSequence_SetItem`, but implemented as a static
+ inlined function.
.. note::