diff options
author | Fred Drake <fdrake@acm.org> | 1999-12-23 14:16:55 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-12-23 14:16:55 (GMT) |
commit | 7b912120caa517ef4fa65eefc26e63f3dea8009a (patch) | |
tree | 73e1a0718366dda869ce8730ccafe19b3fc878c6 /Python/bltinmodule.c | |
parent | fbff97a73bda8d38a80c84f9edb2efd05c1306a6 (diff) | |
download | cpython-7b912120caa517ef4fa65eefc26e63f3dea8009a.zip cpython-7b912120caa517ef4fa65eefc26e63f3dea8009a.tar.gz cpython-7b912120caa517ef4fa65eefc26e63f3dea8009a.tar.bz2 |
Adjusted apply() docstring based on comments from Gerrit Holl
<gerrit.holl@pobox.com>.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index c220d841..1d23281 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -130,10 +130,11 @@ builtin_apply(self, args) } static char apply_doc[] = -"apply(function, args[, kwargs]) -> value\n\ +"apply(object, args[, kwargs]) -> value\n\ \n\ -Call a function with positional arguments taken from the tuple args,\n\ -and keyword arguments taken from the optional dictionary kwargs."; +Call a callable object with positional arguments taken from the tuple args,\n\ +and keyword arguments taken from the optional dictionary kwargs.\n\ +Note that classes are callable, as are instances with a __call__() method."; static PyObject * |