diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-04-19 23:24:32 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-04-19 23:24:32 +0300 |
commit | dd88a05efca9f4650f6e796a1ec6b645777b8c3f (patch) | |
tree | 696e6ac471a4fcd4cae8703a651ef9fd1fda4771 /Python/symtable.c | |
parent | 0850ab3e01b1a82d7c647883bf4f5d3cab00bdad (diff) | |
parent | 6aecfd6fdbe20e10e820fa321a53978902cf02d9 (diff) | |
download | cpython-dd88a05efca9f4650f6e796a1ec6b645777b8c3f.tar.gz |
Merge with 3.2.
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 15ba6b5e2f..8040665b58 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -750,7 +750,7 @@ analyze_block(PySTEntryObject *ste, PyObject *bound, PyObject *free, goto error; } - /* Recursively call analyze_block() on each child block. + /* Recursively call analyze_child_block() on each child block. newbound, newglobal now contain the names visible in nested blocks. The free variables in the children will @@ -1205,9 +1205,9 @@ symtable_visit_stmt(struct symtable *st, stmt_ty s) case Raise_kind: if (s->v.Raise.exc) { VISIT(st, expr, s->v.Raise.exc); - if (s->v.Raise.cause) { - VISIT(st, expr, s->v.Raise.cause); - } + if (s->v.Raise.cause) { + VISIT(st, expr, s->v.Raise.cause); + } } break; case TryExcept_kind: |