Document that apply() is deprecated. See:

http://mail.python.org/pipermail/python-dev/2003-January/031556.html
This commit is contained in:
Fred Drake 2003-01-02 04:54:04 +00:00
parent c3bb26a099
commit 45e482fd3d
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ def my_import(name):
to \code{\var{function}(*\var{args}, **\var{keywords})}. to \code{\var{function}(*\var{args}, **\var{keywords})}.
Use of \function{apply()} is not necessary since the ``extended call Use of \function{apply()} is not necessary since the ``extended call
syntax,'' as used in the last example, is completely equivalent. syntax,'' as used in the last example, is completely equivalent.
\deprecated{2.3}{Use the extended call syntax instead, as described
above.}
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{bool}{x} \begin{funcdesc}{bool}{x}