close() doesn't take any args (closes #14717)
This commit is contained in:
parent
510ff54324
commit
d62da9d658
|
@ -120,7 +120,7 @@ gen_send(PyGenObject *gen, PyObject *arg)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(close_doc,
|
||||
"close(arg) -> raise GeneratorExit inside generator.");
|
||||
"close() -> raise GeneratorExit inside generator.");
|
||||
|
||||
static PyObject *
|
||||
gen_close(PyGenObject *gen, PyObject *args)
|
||||
|
|
Loading…
Reference in New Issue