From 635de86476b2bc7b472a8293b3de8c44c5015ac8 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sun, 31 Jan 2010 03:45:27 -0800 Subject: [PATCH] Method binding fix. --- Cython/Compiler/Nodes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index d230f331..c0816ee4 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -1481,6 +1481,9 @@ class CFuncDefNode(FuncDefNode): self.analyse_default_values(env) self.acquire_gil = self.need_gil_acquisition(self.local_scope) + def needs_assignment_synthesis(self, env, code=None): + return False + def generate_function_header(self, code, with_pymethdef, with_opt_args = 1, with_dispatch = 1, cname = None): arg_decls = [] type = self.type -- 2.26.2