diff options
Diffstat (limited to 'Doc/extending/extending.rst')
-rw-r--r-- | Doc/extending/extending.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index 82b689e..b788a55 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -545,8 +545,9 @@ or more format codes between parentheses. For example:: :c:func:`PyObject_CallObject` returns a Python object pointer: this is the return value of the Python function. :c:func:`PyObject_CallObject` is "reference-count-neutral" with respect to its arguments. In the example a new -tuple was created to serve as the argument list, which is :c:func:`Py_DECREF`\ --ed immediately after the :c:func:`PyObject_CallObject` call. +tuple was created to serve as the argument list, which is +:c:func:`Py_DECREF`\ -ed immediately after the :c:func:`PyObject_CallObject` +call. The return value of :c:func:`PyObject_CallObject` is "new": either it is a brand new object, or it is an existing object whose reference count has been |