mirror of
https://github.com/python/cpython.git
synced 2025-11-28 14:11:15 +00:00
close() doesn't take any args (closes #14717)
This commit is contained in:
parent
89282afafb
commit
ab3da290fe
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue