Commit 7fb1e21b authored by Stefan Behnel's avatar Stefan Behnel

fix

parent ae7e588c
......@@ -4497,7 +4497,7 @@ class ExceptClauseNode(Node):
else:
code.putln("/*except:*/ {")
if not getattr(self.body, 'stats', True) and
if not getattr(self.body, 'stats', True) and \
self.excinfo_target is None and self.target is None):
# most simple case: no exception variable, empty body (pass)
# => reset the exception state, done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment