Commit ab3da290 authored by Benjamin Peterson's avatar Benjamin Peterson

close() doesn't take any args (closes #14717)

parent 89282afa
......@@ -129,7 +129,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)
......
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