diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2014-01-17 16:17:43 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2014-01-17 16:17:43 +0100 |
commit | 1fed785b1ddceb53e6bd82c38d592acbd42f93cb (patch) | |
tree | b096b3355b6043ee5b8507e47929857d20fe5071 /Cython/Compiler/FlowControl.py | |
parent | b3fa3005b9cd4b8f406b9f5e423779ec9de2c03b (diff) | |
download | cython-1fed785b1ddceb53e6bd82c38d592acbd42f93cb.tar.gz |
fix some unnecessary Py2-isms in the code base
Diffstat (limited to 'Cython/Compiler/FlowControl.py')
-rw-r--r-- | Cython/Compiler/FlowControl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/FlowControl.py b/Cython/Compiler/FlowControl.py index 7b1ab6b77..c9ce87729 100644 --- a/Cython/Compiler/FlowControl.py +++ b/Cython/Compiler/FlowControl.py @@ -798,7 +798,7 @@ class ControlFlowAnalysis(CythonTransform): return node def visit_AssignmentNode(self, node): - raise InternalError, "Unhandled assignment node" + raise InternalError("Unhandled assignment node") def visit_SingleAssignmentNode(self, node): self._visit(node.rhs) @@ -1097,7 +1097,7 @@ class ControlFlowAnalysis(CythonTransform): return node def visit_LoopNode(self, node): - raise InternalError, "Generic loops are not supported" + raise InternalError("Generic loops are not supported") def visit_WithTargetAssignmentStatNode(self, node): self.mark_assignment(node.lhs, node.rhs) |