diff options
author | Georg Brandl <georg@python.org> | 2009-03-31 01:25:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-31 01:25:15 (GMT) |
commit | 42827e91eedfed3c4c5a35c51f93cd9f41ccbad4 (patch) | |
tree | b9694312dd623472d12755f99876d2f04eaed371 | |
parent | 7706957f5924ab04701c9622dad0992765a8b126 (diff) | |
download | cpython-42827e91eedfed3c4c5a35c51f93cd9f41ccbad4.zip cpython-42827e91eedfed3c4c5a35c51f93cd9f41ccbad4.tar.gz cpython-42827e91eedfed3c4c5a35c51f93cd9f41ccbad4.tar.bz2 |
Fix a wrong struct field assignment (docstring as closure).
-rw-r--r-- | Objects/genobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c index d2ef508..c3fa64b 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -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} }; |