Commit 0770b175 authored by Stefan Behnel's avatar Stefan Behnel

remove duplicated code

parent dc9b7bf6
......@@ -274,8 +274,6 @@ class ExprNode(Node):
return typecast(type, py_object_type, self.result())
return typecast(type, self.ctype(), self.result())
return typecast(type, self.ctype(), self.result())
def py_result(self):
# Return the result code cast to PyObject *.
return self.result_as(py_object_type)
......
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