From: Georg Brandl Date: Sun, 6 Oct 2013 09:02:38 +0000 (+0200) Subject: Small clarification in extending docs. X-Git-Tag: v3.4.0a4~253^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=337672b76c48bd115334a112e11137a46641bcf2;p=thirdparty%2FPython%2Fcpython.git Small clarification in extending docs. --- diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index ef95ac95f786..eae48e8af9c8 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -515,7 +515,7 @@ or more format codes between parentheses. For example:: 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 call. +-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