From: Georg Brandl Date: Sun, 6 Oct 2013 09:02:38 +0000 (+0200) Subject: Small clarification in extending docs. X-Git-Tag: v2.7.6rc1~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2efdee8903dd3c9ecdd0e6c10f378be0c65ac22;p=python Small clarification in extending docs. --- diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index eb18a46f87..792586d936 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -510,7 +510,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