Commit a600dc53 authored by Stefan Behnel's avatar Stefan Behnel

minor consistency fix

parent acbda9dd
...@@ -3441,7 +3441,7 @@ class RaiseStatNode(StatNode): ...@@ -3441,7 +3441,7 @@ class RaiseStatNode(StatNode):
self.exc_type.generate_evaluation_code(code) self.exc_type.generate_evaluation_code(code)
type_code = self.exc_type.py_result() type_code = self.exc_type.py_result()
else: else:
type_code = 0 type_code = "0"
if self.exc_value: if self.exc_value:
self.exc_value.generate_evaluation_code(code) self.exc_value.generate_evaluation_code(code)
value_code = self.exc_value.py_result() value_code = self.exc_value.py_result()
......
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