Commit c790d2de authored by Stefan Behnel's avatar Stefan Behnel

fix for property functions

parent 63e41169
...@@ -1177,6 +1177,7 @@ class PropertyScope(Scope): ...@@ -1177,6 +1177,7 @@ class PropertyScope(Scope):
if signature: if signature:
entry = self.declare(name, name, py_object_type, pos) entry = self.declare(name, name, py_object_type, pos)
entry.signature = signature entry.signature = signature
entry.is_special = 1
return entry return entry
else: else:
error(pos, "Only __get__, __set__ and __del__ methods allowed " error(pos, "Only __get__, __set__ and __del__ methods allowed "
......
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