From: Georg Brandl Date: Thu, 25 May 2006 21:11:56 +0000 (+0000) Subject: Add a x-ref to newer calling APIs. X-Git-Tag: v2.5b1~511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=485dbd105f23d8ca6bf86cdb090b4a2723ff3e9d;p=python Add a x-ref to newer calling APIs. --- diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex index 119f0d218a..f740efbc7e 100644 --- a/Doc/api/abstract.tex +++ b/Doc/api/abstract.tex @@ -260,6 +260,8 @@ determination. result of the call on success, or \NULL{} on failure. This is the equivalent of the Python expression \samp{apply(\var{callable}, \var{args})} or \samp{\var{callable}(*\var{args})}. + Note that if you only pass \ctype{PyObject *} args, + \cfunction{PyObject_CallFunctionObjArgs} is a faster alternative. \bifuncindex{apply} \end{cfuncdesc} @@ -274,6 +276,8 @@ determination. indicating that no arguments are provided. Returns the result of the call on success, or \NULL{} on failure. This is the equivalent of the Python expression \samp{\var{o}.\var{method}(\var{args})}. + Note that if you only pass \ctype{PyObject *} args, + \cfunction{PyObject_CallMethodObjArgs} is a faster alternative. \end{cfuncdesc}