summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-18 19:23:44 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-18 19:23:44 (GMT)
commit01560de287c12a93859554951d99eb66a60107c6 (patch)
tree3473471faf01553705e8eb86d67742a258bb1b07 /Doc
parent9fab5ce6624705f5cf99536f2c18e4c6a25121a5 (diff)
downloadcpython-01560de287c12a93859554951d99eb66a60107c6.zip
cpython-01560de287c12a93859554951d99eb66a60107c6.tar.gz
cpython-01560de287c12a93859554951d99eb66a60107c6.tar.bz2
#16503: clarify "apply" docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 5082479..ec3b1d6 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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]])