summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-10 22:07:18 +0000
committerFred Drake <fdrake@acm.org>2000-10-10 22:07:18 +0000
commit5428c7db41a32ced1acd93b13d69a48db6932c3f (patch)
tree74a14fa3a48fb53781c1c1c58ea778039dbf77be
parent2c4f554b7863ac47b8e10dd4a942bb7bc3e6b3e3 (diff)
downloadcpython-git-5428c7db41a32ced1acd93b13d69a48db6932c3f.tar.gz
Fix the docstring for new.function().
Based on a comment from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
-rw-r--r--Modules/newmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c
index f29c37bf57..456e44062e 100644
--- a/Modules/newmodule.c
+++ b/Modules/newmodule.c
@@ -59,7 +59,7 @@ new_instancemethod(PyObject* unused, PyObject* args)
}
static char new_function_doc[] =
-"Create a function object from (CODE, GLOBALS, [NAME, ARGDEFS]).";
+"Create a function object from (CODE, GLOBALS, [NAME [, ARGDEFS]]).";
static PyObject *
new_function(PyObject* unused, PyObject* args)