diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-06-18 22:08:13 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-06-18 22:08:13 +0000 |
commit | 77a542339b4bc53879c273aa3794cc66bd5c806e (patch) | |
tree | e2d9ac7555bb14317f1415cd1c38afe4189236df /Python/symtable.c | |
parent | 07b110f38c58b99f98815736ac234f00a8cb4db6 (diff) | |
download | cpython-77a542339b4bc53879c273aa3794cc66bd5c806e.tar.gz |
Merging the gen-branch into the main line, at Guido's direction. Yay!
Bugfix candidate in inspect.py: it was referencing "self" outside of
a method.
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index aed8908bb2..e1151671ca 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -69,6 +69,7 @@ PySymtableEntry_New(struct symtable *st, char *name, int type, int lineno) else ste->ste_nested = 0; ste->ste_child_free = 0; + ste->ste_generator = 0; if (PyDict_SetItem(st->st_symbols, ste->ste_id, (PyObject *)ste) < 0) goto fail; |