Home | History | Annotate | Download | only in fixes

Lines Matching refs:exc

35     raise_stmt< 'raise' exc=any [',' val=any [',' tb=any]] >
41 exc = results["exc"].clone()
42 if exc.type == token.STRING:
53 if is_tuple(exc):
54 while is_tuple(exc):
55 # exc.children[1:-1] is the unparenthesized tuple
56 # exc.children[1].children[0] is the first element of the tuple
57 exc = exc.children[1].children[0].clone()
58 exc.prefix = u" "
62 new = pytree.Node(syms.raise_stmt, [Name(u"raise"), exc])
77 e = exc
82 e = Call(exc, args)
89 [Name(u"raise"), Call(exc, args)],