]> granicus.if.org Git - python/commitdiff
Add a x-ref to newer calling APIs.
authorGeorg Brandl <georg@python.org>
Thu, 25 May 2006 21:11:56 +0000 (21:11 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 25 May 2006 21:11:56 +0000 (21:11 +0000)
Doc/api/abstract.tex

index 119f0d218a31a69496514256caeb457937fe2ce8..f740efbc7edefe45a762c542ad10d205d100d238 100644 (file)
@@ -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}