Skip to content

Commit d45bd2a

Browse files
Fix docs
1 parent 2076783 commit d45bd2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/c-api/tuple.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ Tuple Objects
6767
6868
.. warning::
6969
70-
This function expects non ``NULL`` object *one*.
71-
Checking is performed as an assertion if Python is built in
72-
:ref:`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`.
70+
*one* must not be ``NULL``. Checking is performed as an assertion
71+
if Python is built in :ref:`debug mode <debug-build>` or
72+
:option:`with assertions <--with-assertions>`.
7373
7474
7575
.. c:function:: PyObject* PyTuple_MakePair(PyObject *one, PyObject *two)
@@ -81,9 +81,9 @@ Tuple Objects
8181
8282
.. warning::
8383
84-
This function expects non ``NULL`` objects *one* and *two*.
85-
Checking is performed as an assertion if Python is built in
86-
:ref:`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`.
84+
*one* and *two* must not be ``NULL``. Checking is performed as an assertion
85+
if Python is built in :ref:`debug mode <debug-build>` or
86+
:option:`with assertions <--with-assertions>`.
8787
8888
8989
.. c:function:: Py_ssize_t PyTuple_Size(PyObject *p)

0 commit comments

Comments
 (0)