mirror of https://github.com/python/cpython
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.");
|
||||
|
||||
static PyGetSetDef gen_getsetlist[] = {
|
||||
{"__name__", (getter)gen_get_name, NULL, NULL, gen__name__doc__},
|
||||
{"__name__", (getter)gen_get_name, NULL, gen__name__doc__},
|
||||
{NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue