Fix the docstring for new.function().

Based on a comment from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
This commit is contained in:
Fred Drake 2000-10-10 22:07:18 +00:00
parent 2c4f554b78
commit 5428c7db41
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ new_instancemethod(PyObject* unused, PyObject* args)
} }
static char new_function_doc[] = 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 * static PyObject *
new_function(PyObject* unused, PyObject* args) new_function(PyObject* unused, PyObject* args)