[Python-checkins] r46256 - python/trunk/Doc/api/abstract.tex

georg.brandl python-checkins at python.org
Thu May 25 23:12:00 CEST 2006


Author: georg.brandl
Date: Thu May 25 23:11:56 2006
New Revision: 46256

Modified:
   python/trunk/Doc/api/abstract.tex
Log:
Add a x-ref to newer calling APIs.



Modified: python/trunk/Doc/api/abstract.tex
==============================================================================
--- python/trunk/Doc/api/abstract.tex	(original)
+++ python/trunk/Doc/api/abstract.tex	Thu May 25 23:11:56 2006
@@ -260,6 +260,8 @@
   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 @@
   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}
 
 


More information about the Python-checkins mailing list