From: Fred Drake Date: Thu, 23 Dec 1999 14:16:55 +0000 (+0000) Subject: Adjusted apply() docstring based on comments from Gerrit Holl X-Git-Tag: v1.6a1~585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b912120caa517ef4fa65eefc26e63f3dea8009a;p=python Adjusted apply() docstring based on comments from Gerrit Holl . --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index c220d84100..1d23281f9f 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 *