[Python-checkins] r70789 - python/trunk/Objects/genobject.c
georg.brandl
python-checkins at python.org
Tue Mar 31 03:25:16 CEST 2009
Author: georg.brandl
Date: Tue Mar 31 03:25:15 2009
New Revision: 70789
Log:
Fix a wrong struct field assignment (docstring as closure).
Modified:
python/trunk/Objects/genobject.c
Modified: python/trunk/Objects/genobject.c
==============================================================================
--- python/trunk/Objects/genobject.c (original)
+++ python/trunk/Objects/genobject.c Tue Mar 31 03:25:15 2009
@@ -306,7 +306,7 @@
"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}
};
More information about the Python-checkins
mailing list