summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-05-25 21:11:56 (GMT)
committerGeorg Brandl <georg@python.org>2006-05-25 21:11:56 (GMT)
commit485dbd105f23d8ca6bf86cdb090b4a2723ff3e9d (patch)
tree5d3267bd21b0a6992f77ca4d8704d31181285266 /Doc
parent964e02a901558b7c03170e642cb7a6d4609bd15c (diff)
downloadcpython-485dbd105f23d8ca6bf86cdb090b4a2723ff3e9d.zip
cpython-485dbd105f23d8ca6bf86cdb090b4a2723ff3e9d.tar.gz
cpython-485dbd105f23d8ca6bf86cdb090b4a2723ff3e9d.tar.bz2
Add a x-ref to newer calling APIs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/abstract.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index 119f0d2..f740efb 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}