From: Robert Bradshaw Date: Thu, 3 Mar 2011 19:07:23 +0000 (-0800) Subject: Fix compile time division. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78e134ede7646bacfaaafb71172fd4f86b890d0f;p=cython.git Fix compile time division. --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index c9652510..1fe85384 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -5992,7 +5992,7 @@ class DivNode(NumBinopNode): operand2 = self.operand2.compile_time_value(denv) try: func = self.find_compile_time_binary_operator( - self, operand1, operand2) + operand1, operand2) return func(operand1, operand2) except Exception, e: self.compile_time_value_error(e)