diff --git a/Objects/genobject.c b/Objects/genobject.c index af812c0a91e..341f6605fb1 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -120,7 +120,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)