]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document that apply() is deprecated. See:
authorFred Drake <fdrake@acm.org>
Thu, 2 Jan 2003 04:54:22 +0000 (04:54 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 2 Jan 2003 04:54:22 +0000 (04:54 +0000)
http://mail.python.org/pipermail/python-dev/2003-January/031556.html

Doc/lib/libfuncs.tex

index 7a7d764916d8d30e3fbd68be74fd98bfb2b13af0..2be606fbb100f05e523018706d94ecae318904cf 100644 (file)
@@ -77,6 +77,9 @@ def my_import(name):
   to \code{\var{function}(*\var{args}, **\var{keywords})}.
   Use of \function{apply()} is not necessary since the ``extended call
   syntax,'' as used in the last example, is completely equivalent.
+
+  \deprecated{2.3}{Use the extended call syntax instead, as described
+                   above.}
 \end{funcdesc}
 
 \begin{funcdesc}{buffer}{object\optional{, offset\optional{, size}}}