Commit 29b90146 authored by Neal Norwitz's avatar Neal Norwitz

Remove apply()

parent c6b9bf95
...@@ -233,8 +233,7 @@ determination. ...@@ -233,8 +233,7 @@ determination.
be \NULL{}. \var{args} must not be \NULL{}, use an empty tuple if 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, no arguments are needed. Returns the result of the call on success,
or \NULL{} on failure. This is the equivalent of the Python or \NULL{} on failure. This is the equivalent of the Python
expression \samp{apply(\var{callable_object}, \var{args}, \var{kw})} expression \samp{\var{callable_object}(*\var{args}, **\var{kw})}.
or \samp{\var{callable_object}(*\var{args}, **\var{kw})}.
\versionadded{2.2} \versionadded{2.2}
\end{cfuncdesc} \end{cfuncdesc}
...@@ -245,8 +244,7 @@ determination. ...@@ -245,8 +244,7 @@ determination.
given by the tuple \var{args}. If no arguments are needed, then given by the tuple \var{args}. If no arguments are needed, then
\var{args} may be \NULL. Returns the result of the call on \var{args} may be \NULL. Returns the result of the call on
success, or \NULL{} on failure. This is the equivalent of the success, or \NULL{} on failure. This is the equivalent of the
Python expression \samp{apply(\var{callable_object}, \var{args})} or Python expression \samp{\var{callable_object}(*\var{args})}.
\samp{\var{callable_object}(*\var{args})}.
\end{cfuncdesc} \end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyObject_CallFunction}{PyObject *callable, \begin{cfuncdesc}{PyObject*}{PyObject_CallFunction}{PyObject *callable,
...@@ -256,8 +254,7 @@ determination. ...@@ -256,8 +254,7 @@ determination.
\cfunction{Py_BuildValue()} style format string. The format may be \cfunction{Py_BuildValue()} style format string. The format may be
\NULL, indicating that no arguments are provided. Returns the \NULL, indicating that no arguments are provided. Returns the
result of the call on success, or \NULL{} on failure. This is the result of the call on success, or \NULL{} on failure. This is the
equivalent of the Python expression \samp{apply(\var{callable}, equivalent of the Python expression \samp{\var{callable}(*\var{args})}.
\var{args})} or \samp{\var{callable}(*\var{args})}.
\end{cfuncdesc} \end{cfuncdesc}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment