]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#16503: clarify "apply" docs.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 18 Nov 2012 19:23:44 +0000 (21:23 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 18 Nov 2012 19:23:44 +0000 (21:23 +0200)
Doc/library/functions.rst

index 5082479a8f60dba13a0cf9a11b056803f4091984..ec3b1d67a29900662dcc429861c60096cb972bfc 100644 (file)
@@ -1676,7 +1676,8 @@ bypass these functions without concerns about missing something important.
    ``function(*args, **keywords)``.
 
    .. deprecated:: 2.3
-      Use the extended call syntax with ``*args`` and ``**keywords`` instead.
+      Use ``function(*args, **keywords)`` instead of
+      ``apply(function, args, keywords)`` (see :ref:`tut-unpacking-arguments`).
 
 
 .. function:: buffer(object[, offset[, size]])