From c4ed9713a79a7f2b3f2782f58a867383c8c60ca8 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 19 Oct 2007 12:32:39 +0000 Subject: Clarify wording for apply(). --- Doc/library/functions.rst | 7 +++---- 1 file 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]]) -- cgit v0.12