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

This commit is contained in:
Georg Brandl 2009-03-31 01:25:15 +00:00
parent 7706957f59
commit 42827e91ee
1 changed files with 1 additions and 1 deletions

View File

@ -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}
};