removed dead code
authorStefan Behnel <scoder@users.berlios.de>
Mon, 8 Nov 2010 11:05:24 +0000 (12:05 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Mon, 8 Nov 2010 11:05:24 +0000 (12:05 +0100)
Cython/Compiler/Nodes.py

index be840f923e834e1d5841191fd28bcbc857c13263..83e89d4ab5737bca07967bbe387a58c166efa72c 100644 (file)
@@ -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