Lines Matching full:except
1 """Fixer for except statements with named exceptions.
5 - "except E, T:" where T is a name:
7 except E as T:
9 - "except E, T:" where T is not a name, tuple or list:
11 except E as t:
14 This is done because the target of an "except" clause must be a
17 - "except E, T:" where T is a tuple or list literal:
19 except E as t:
33 if n.children[0].value == 'except':
42 tail=(['except' ':' (simple_stmt | suite)]
59 # Generate a new N for the except clause
67 # the except body. This loop skips leading whitespace