From c587c44918a6dba26fecb307ebcd602dafb2294b Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Mon, 29 Sep 2008 18:18:47 +0200 Subject: [PATCH] CloneNode result_code modernization. --- Cython/Compiler/ExprNodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index aa4d5a39..2ba795e3 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -4275,7 +4275,7 @@ class CloneNode(CoercionNode): if hasattr(arg, 'entry'): self.entry = arg.entry - def calculate_result_code(self): + def result(self): return self.arg.result() def analyse_types(self, env): @@ -4295,7 +4295,7 @@ class CloneNode(CoercionNode): pass def allocate_temps(self, env): - self.result_code = self.calculate_result_code() + pass def release_temp(self, env): pass -- 2.26.2