From: Fred Drake Date: Tue, 10 Oct 2000 22:07:18 +0000 (+0000) Subject: Fix the docstring for new.function(). X-Git-Tag: v2.0~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5428c7db41a32ced1acd93b13d69a48db6932c3f;p=thirdparty%2FPython%2Fcpython.git Fix the docstring for new.function(). Based on a comment from Detlef Lannert . --- diff --git a/Modules/newmodule.c b/Modules/newmodule.c index f29c37bf57fe..456e44062ef3 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)