projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
345009e
)
removed dead code
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 8 Nov 2010 11:05:24 +0000
(12:05 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 8 Nov 2010 11:05:24 +0000
(12:05 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index be840f923e834e1d5841191fd28bcbc857c13263..83e89d4ab5737bca07967bbe387a58c166efa72c 100644
(file)
--- 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