Kaydet (Commit) 5428c7db authored tarafından Fred Drake's avatar Fred Drake

Fix the docstring for new.function().

Based on a comment from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
üst 2c4f554b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment