From: Stefan Behnel Date: Mon, 8 Nov 2010 11:05:24 +0000 (+0100) Subject: removed dead code X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e54d9a491956590d97f3c5f5bae486027fb49fe;p=cython.git removed dead code --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index be840f92..83e89d4a 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -1913,7 +1913,7 @@ class DefNode(FuncDefNode): error(cfunc.pos, "previous declaration here") for formal_arg, type_arg in zip(self.args, cfunc_type.args): name_declarator, type = formal_arg.analyse(cfunc.scope, nonempty=1) - if type is None or type is PyrexTypes.py_object_type or formal_arg.is_self: + if type is None or type is PyrexTypes.py_object_type: formal_arg.type = type_arg.type formal_arg.name_declarator = name_declarator import ExprNodes