summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-05-03 22:44:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-05-03 22:44:09 (GMT)
commitab3da290fedc48e1d0d2ea6222e067bc2e598ad1 (patch)
tree517ae85dd50b4d193455b70c5443a476fc9c5d18 /Objects/genobject.c
parent89282afafbdc29903ff1c29ea26d5510572d494a (diff)
downloadcpython-ab3da290fedc48e1d0d2ea6222e067bc2e598ad1.zip
cpython-ab3da290fedc48e1d0d2ea6222e067bc2e598ad1.tar.gz
cpython-ab3da290fedc48e1d0d2ea6222e067bc2e598ad1.tar.bz2
close() doesn't take any args (closes #14717)
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 42608ef..6e25f13 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -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)