We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0ad9e commit 269832aCopy full SHA for 269832a
Doc/c-api/tuple.rst
@@ -87,7 +87,7 @@ Tuple Objects
87
.. c:function:: void PyTuple_SET_ITEM(PyObject *p, Py_ssize_t pos, PyObject *o)
88
89
Like :c:func:`PyTuple_SetItem`, but does no error checking, and should *only* be
90
- used to fill in brand new tuples.
+ used to fill in brand new tuples. Both ``p`` and ``o`` must be non-``NULL``.
91
92
Bounds checking is performed as an assertion if Python is built in
93
:ref:`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`.
0 commit comments