From: Stefan Behnel Date: Sun, 16 Nov 2008 21:40:15 +0000 (+0100) Subject: inheritance fix X-Git-Tag: 0.11-beta~247 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=198a902f0248028055f5d1f3af0ade05397980e0;p=cython.git inheritance fix --- diff --git a/Cython/Compiler/UtilNodes.py b/Cython/Compiler/UtilNodes.py index 7a624fb5..369634cb 100644 --- a/Cython/Compiler/UtilNodes.py +++ b/Cython/Compiler/UtilNodes.py @@ -7,7 +7,7 @@ import Nodes import ExprNodes from Nodes import Node -from ExprNodes import ExprNode +from ExprNodes import AtomicExprNode class TempHandle(object): temp = None @@ -17,9 +17,8 @@ class TempHandle(object): def ref(self, pos): return TempRefNode(pos, handle=self, type=self.type) -class TempRefNode(ExprNode): +class TempRefNode(AtomicExprNode): # handle TempHandle - subexprs = [] def analyse_types(self, env): assert self.type == self.handle.type