]> granicus.if.org Git - python/commitdiff
Remove apply()
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 17 Mar 2006 08:04:59 +0000 (08:04 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 17 Mar 2006 08:04:59 +0000 (08:04 +0000)
Doc/api/abstract.tex

index e1c3901d65094b5b2c37e4eb70d41b5c9d61df03..f50ebc41fa20d5a6c580bae9658d20e5b27d4887 100644 (file)
@@ -233,8 +233,7 @@ determination.
   be \NULL{}. \var{args} must not be \NULL{}, use an empty tuple if
   no arguments are needed. Returns the result of the call on success,
   or \NULL{} on failure.  This is the equivalent of the Python
-  expression \samp{apply(\var{callable_object}, \var{args}, \var{kw})}
-  or \samp{\var{callable_object}(*\var{args}, **\var{kw})}.
+  expression \samp{\var{callable_object}(*\var{args}, **\var{kw})}.
   \versionadded{2.2}
 \end{cfuncdesc}
 
@@ -245,8 +244,7 @@ determination.
   given by the tuple \var{args}.  If no arguments are needed, then
   \var{args} may be \NULL.  Returns the result of the call on
   success, or \NULL{} on failure.  This is the equivalent of the
-  Python expression \samp{apply(\var{callable_object}, \var{args})} or
-  \samp{\var{callable_object}(*\var{args})}.
+  Python expression \samp{\var{callable_object}(*\var{args})}.
 \end{cfuncdesc}
 
 \begin{cfuncdesc}{PyObject*}{PyObject_CallFunction}{PyObject *callable,
@@ -256,8 +254,7 @@ determination.
   \cfunction{Py_BuildValue()} style format string.  The format may be
   \NULL, 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{apply(\var{callable},
-  \var{args})} or \samp{\var{callable}(*\var{args})}.
+  equivalent of the Python expression \samp{\var{callable}(*\var{args})}.
 \end{cfuncdesc}