diff options
-rw-r--r-- | Doc/api/abstract.tex | 4 |
1 files changed, 4 insertions, 0 deletions
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} |