mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue