summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-01-12 17:05:05 (GMT)
committerFred Drake <fdrake@acm.org>2001-01-12 17:05:05 (GMT)
commitf1fbc62a8c82dd172beb5def713d3815a562ee65 (patch)
tree6fb28ce482319a32d981dbe6036cb72367e8c66f /Python/bltinmodule.c
parent1cc8f836660c0c7cfd1ca24a58a45531112a1e44 (diff)
downloadcpython-f1fbc62a8c82dd172beb5def713d3815a562ee65.zip
cpython-f1fbc62a8c82dd172beb5def713d3815a562ee65.tar.gz
cpython-f1fbc62a8c82dd172beb5def713d3815a562ee65.tar.bz2
Update the docstring for apply() so that "args" is marked as optional
(since it is).
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 1ad534f..8f114f3 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -92,7 +92,7 @@ builtin_apply(PyObject *self, PyObject *args)
}
static char apply_doc[] =
-"apply(object, args[, kwargs]) -> value\n\
+"apply(object[, args[, kwargs]]) -> value\n\
\n\
Call a callable object with positional arguments taken from the tuple args,\n\
and keyword arguments taken from the optional dictionary kwargs.\n\