diff options
author | Georg Brandl <georg@python.org> | 2007-10-19 12:32:39 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-19 12:32:39 (GMT) |
commit | c4ed9713a79a7f2b3f2782f58a867383c8c60ca8 (patch) | |
tree | c4aff358034e081e8db8978892f316e2fd06e3ac /Doc/library | |
parent | 87fc9ad96672fefe6a824e06c11e475e8400f55d (diff) | |
download | cpython-c4ed9713a79a7f2b3f2782f58a867383c8c60ca8.zip cpython-c4ed9713a79a7f2b3f2782f58a867383c8c60ca8.tar.gz cpython-c4ed9713a79a7f2b3f2782f58a867383c8c60ca8.tar.bz2 |
Clarify wording for apply().
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/functions.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 25ab8a4..bfa9bc4 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1292,12 +1292,11 @@ bypass these functions without concerns about missing something important. present, it must be a dictionary whose keys are strings. It specifies keyword arguments to be added to the end of the argument list. Calling :func:`apply` is different from just calling ``function(args)``, since in that case there is - always exactly one argument. The use of :func:`apply` is equivalent to - ``function(*args, **keywords)``. Use of :func:`apply` is not necessary since the - "extended call syntax," as used in the last example, is completely equivalent. + always exactly one argument. The use of :func:`apply` is exactly equivalent to + ``function(*args, **keywords)``. .. deprecated:: 2.3 - Use the extended call syntax instead, as described above. + Use the extended call syntax with ``*args`` and ``**keywords`` instead. .. function:: buffer(object[, offset[, size]]) |