]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the docstring for new.function().
authorFred Drake <fdrake@acm.org>
Tue, 10 Oct 2000 22:07:18 +0000 (22:07 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 10 Oct 2000 22:07:18 +0000 (22:07 +0000)
Based on a comment from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.

Modules/newmodule.c

index f29c37bf57fe19daf355a440fcb8c7c017cecbfd..456e44062ef3949fb3314e4e04e425dd82f70a48 100644 (file)
@@ -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)