Fix the docstring for new.function().
Based on a comment from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
This commit is contained in:
parent
2c4f554b78
commit
5428c7db41
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue