From 5428c7db41a32ced1acd93b13d69a48db6932c3f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 10 Oct 2000 22:07:18 +0000 Subject: [PATCH] Fix the docstring for new.function(). Based on a comment from Detlef Lannert . --- Modules/newmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/newmodule.c b/Modules/newmodule.c index f29c37bf57f..456e44062ef 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)