]> granicus.if.org Git - python/commitdiff
Update the docstring for apply() so that "args" is marked as optional
authorFred Drake <fdrake@acm.org>
Fri, 12 Jan 2001 17:05:05 +0000 (17:05 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 12 Jan 2001 17:05:05 +0000 (17:05 +0000)
(since it is).

Python/bltinmodule.c

index 1ad534f387f41c1e33f9fe809d8d522ef4b10c30..8f114f361797473a58699fe62ef314e4b5eb11cb 100644 (file)
@@ -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\