From b97c5be5fe14735840de346298437488d3ff91ff Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 7 Dec 2008 21:34:27 +0100 Subject: [PATCH] renamed node --- Cython/Compiler/Optimize.py | 2 +- Cython/Compiler/UtilNodes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index a6c819b9..db9520cb 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -343,7 +343,7 @@ class FlattenInListTransform(Visitor.VisitorTransform, SkipDeclarations): operand2 = right) condition = reduce(concat, conds) - return UtilNodes.TempBlockExprNode(lhs, condition) + return UtilNodes.EvalWithTempExprNode(lhs, condition) def visit_Node(self, node): self.visitchildren(node) diff --git a/Cython/Compiler/UtilNodes.py b/Cython/Compiler/UtilNodes.py index 780b8c89..ded4dc80 100644 --- a/Cython/Compiler/UtilNodes.py +++ b/Cython/Compiler/UtilNodes.py @@ -141,7 +141,7 @@ class ResultRefNode(AtomicExprNode): pass -class TempBlockExprNode(ExprNodes.NewTempExprNode): +class EvalWithTempExprNode(ExprNodes.NewTempExprNode): # A wrapper around a subexpression that moves an expression into a # temp variable and provides it to the subexpression. -- 2.26.2