From 485dbd105f23d8ca6bf86cdb090b4a2723ff3e9d Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 25 May 2006 21:11:56 +0000 Subject: [PATCH] Add a x-ref to newer calling APIs. --- Doc/api/abstract.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex index 119f0d218a3..f740efbc7ed 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}