Kaydet (Commit) ab3da290 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

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

üst 89282afa
...@@ -129,7 +129,7 @@ gen_send(PyGenObject *gen, PyObject *arg) ...@@ -129,7 +129,7 @@ gen_send(PyGenObject *gen, PyObject *arg)
} }
PyDoc_STRVAR(close_doc, PyDoc_STRVAR(close_doc,
"close(arg) -> raise GeneratorExit inside generator."); "close() -> raise GeneratorExit inside generator.");
static PyObject * static PyObject *
gen_close(PyGenObject *gen, PyObject *args) 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