Commit 5d813ee3 authored by gsamain's avatar gsamain

Dead code deletion: defnodewrapper prepare argument coercion

parent 12d2b845
...@@ -3336,8 +3336,6 @@ class DefNodeWrapper(FuncDefNode): ...@@ -3336,8 +3336,6 @@ class DefNodeWrapper(FuncDefNode):
# different code types. # different code types.
for arg in self.args: for arg in self.args:
if not arg.type.is_pyobject: if not arg.type.is_pyobject:
if arg.type is PyrexTypes.PyExtensionType and arg.type.nogil:
continue # XXX maybe here is not the correct place to put it...
if not arg.type.create_from_py_utility_code(env): if not arg.type.create_from_py_utility_code(env):
pass # will fail later pass # will fail later
elif arg.hdr_type and not arg.hdr_type.is_pyobject: elif arg.hdr_type and not arg.hdr_type.is_pyobject:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment