Commit 3f402877 authored by Stefan Behnel's avatar Stefan Behnel

AttributeNode.as_cython_attribute(): make method return value explicit

--HG--
extra : transplant_source : N0%13bMy%C5%0E%7E%20F%84%9A%F9e%A7%CE%C5%A4%8A
parent 13994f0b
......@@ -3558,6 +3558,7 @@ class AttributeNode(ExprNode):
cy = self.obj.as_cython_attribute()
if cy:
return "%s.%s" % (cy, self.attribute)
return None
def coerce_to(self, dst_type, env):
# If coercing to a generic pyobject and this is a cpdef function
......
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