diff Python/bltinmodule.c @ 11621:0ec803cbd872 legacy-trunk

Adjusted apply() docstring based on comments from Gerrit Holl <gerrit.holl@pobox.com>.
author Fred Drake <fdrake@acm.org>
date Thu, 23 Dec 1999 14:16:55 +0000
parents aca7b5eaf5e8
children 449b074c3051
line wrap: on
line diff
--- a/Python/bltinmodule.c	Wed Dec 22 21:52:32 1999 +0000
+++ b/Python/bltinmodule.c	Thu Dec 23 14:16:55 1999 +0000
@@ -130,10 +130,11 @@
 }
 
 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 *