summaryrefslogtreecommitdiffstats
path: root/Modules/newmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-10 22:07:18 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-10 22:07:18 (GMT)
commit5428c7db41a32ced1acd93b13d69a48db6932c3f (patch)
tree74a14fa3a48fb53781c1c1c58ea778039dbf77be /Modules/newmodule.c
parent2c4f554b7863ac47b8e10dd4a942bb7bc3e6b3e3 (diff)
downloadcpython-5428c7db41a32ced1acd93b13d69a48db6932c3f.zip
cpython-5428c7db41a32ced1acd93b13d69a48db6932c3f.tar.gz
cpython-5428c7db41a32ced1acd93b13d69a48db6932c3f.tar.bz2
Fix the docstring for new.function().
Based on a comment from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
Diffstat (limited to 'Modules/newmodule.c')
-rw-r--r--Modules/newmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c
index f29c37b..456e440 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)