From: Stefan Behnel <scoder@users.berlios.de> Date: Sat, 21 Feb 2009 23:18:20 +0000 (+0100) Subject: minor consistency fix X-Git-Tag: 0.11.rc~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a600dc53d86ca8438fa174b7189a76b119b8c7fa;p=cython.git minor consistency fix --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index a6a63671..629270dc 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -3441,7 +3441,7 @@ class RaiseStatNode(StatNode): self.exc_type.generate_evaluation_code(code) type_code = self.exc_type.py_result() else: - type_code = 0 + type_code = "0" if self.exc_value: self.exc_value.generate_evaluation_code(code) value_code = self.exc_value.py_result()