Mercurial > cpython-lru_cache-weakref
diff Python/symtable.c @ 43102:981ecc526703
Issue #1066: implement PEP 3109, 2/3 of PEP 3134.
| author | Collin Winter <collinw@gmail.com> |
|---|---|
| date | Fri, 31 Aug 2007 00:04:24 +0000 |
| parents | 41da49c97a59 |
| children | c34720777cb6 |
line wrap: on
line diff
--- a/Python/symtable.c Thu Aug 30 23:34:01 2007 +0000 +++ b/Python/symtable.c Fri Aug 31 00:04:24 2007 +0000 @@ -1101,13 +1101,11 @@ VISIT_SEQ(st, stmt, s->v.If.orelse); break; case Raise_kind: - if (s->v.Raise.type) { - VISIT(st, expr, s->v.Raise.type); - if (s->v.Raise.inst) { - VISIT(st, expr, s->v.Raise.inst); - if (s->v.Raise.tback) - VISIT(st, expr, s->v.Raise.tback); - } + if (s->v.Raise.exc) { + VISIT(st, expr, s->v.Raise.exc); + if (s->v.Raise.cause) { + VISIT(st, expr, s->v.Raise.cause); + } } break; case TryExcept_kind:
