Commit 42827e91 authored by Georg Brandl's avatar Georg Brandl

Fix a wrong struct field assignment (docstring as closure).

parent 7706957f
......@@ -306,7 +306,7 @@ PyDoc_STRVAR(gen__name__doc__,
"Return the name of the generator's associated code object.");
static PyGetSetDef gen_getsetlist[] = {
{"__name__", (getter)gen_get_name, NULL, NULL, gen__name__doc__},
{"__name__", (getter)gen_get_name, NULL, gen__name__doc__},
{NULL}
};
......
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