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

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

üst 510ff543
...@@ -120,7 +120,7 @@ gen_send(PyGenObject *gen, PyObject *arg) ...@@ -120,7 +120,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