From ab3da290fedc48e1d0d2ea6222e067bc2e598ad1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 3 May 2012 18:44:09 -0400 Subject: close() doesn't take any args (closes #14717) --- Objects/genobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12