Fix a wrong struct field assignment (docstring as closure).
This commit is contained in:
parent
7706957f59
commit
42827e91ee
|
@ -306,7 +306,7 @@ PyDoc_STRVAR(gen__name__doc__,
|
||||||
"Return the name of the generator's associated code object.");
|
"Return the name of the generator's associated code object.");
|
||||||
|
|
||||||
static PyGetSetDef gen_getsetlist[] = {
|
static PyGetSetDef gen_getsetlist[] = {
|
||||||
{"__name__", (getter)gen_get_name, NULL, NULL, gen__name__doc__},
|
{"__name__", (getter)gen_get_name, NULL, gen__name__doc__},
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue