Skip to content

Commit

Permalink
PEP-257
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Feb 1, 2017
1 parent f0c15c3 commit bd48de9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/RestrictedPython/transformer.py
Expand Up @@ -1216,7 +1216,7 @@ def visit_TryExcept(self, node):
return self.node_contents_visit(node)

def visit_ExceptHandler(self, node):
"""Protects tuple unpacking on exception handlers.
"""Protect tuple unpacking on exception handlers.
try:
.....
Expand All @@ -1233,7 +1233,6 @@ def visit_ExceptHandler(self, node):
finally:
del tmp
"""

node = self.node_contents_visit(node)

if IS_PY3:
Expand Down

0 comments on commit bd48de9

Please sign in to comment.