From: Stefan Behnel Date: Sun, 7 Dec 2008 20:34:27 +0000 (+0100) Subject: renamed node X-Git-Tag: 0.11-beta~150 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b97c5be5fe14735840de346298437488d3ff91ff;p=cython.git renamed node --- 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.