mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Update the docstring for apply() so that "args" is marked as optional
(since it is).
This commit is contained in:
parent
1cc8f83666
commit
f1fbc62a8c
1 changed files with 1 additions and 1 deletions
|
@ -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\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue