From 812275e9ea9679994bfd7d2652485ee006a216b2 Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Sat, 28 Mar 2009 15:39:26 +0100 Subject: [PATCH] More easy ones to new temps --- Cython/Compiler/ExprNodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 24e45c0a..65714aee 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -1986,7 +1986,7 @@ class IndexNode(ExprNode): code.putln(code.error_goto(self.pos)) code.putln("}") -class SliceIndexNode(ExprNode): +class SliceIndexNode(NewTempExprNode): # 2-element slice indexing # # base ExprNode @@ -2188,7 +2188,7 @@ class SliceIndexNode(ExprNode): return "" -class SliceNode(ExprNode): +class SliceNode(NewTempExprNode): # start:stop:step in subscript list # # start ExprNode @@ -3524,7 +3524,7 @@ class DictNode(NewTempExprNode): for item in self.key_value_pairs: item.annotate(code) -class DictItemNode(ExprNode): +class DictItemNode(NewTempExprNode): # Represents a single item in a DictNode # # key ExprNode -- 2.26.2