From 198a902f0248028055f5d1f3af0ade05397980e0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 16 Nov 2008 22:40:15 +0100 Subject: [PATCH] inheritance fix --- Cython/Compiler/UtilNodes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.26.2