fix for property functions
authorStefan Behnel <scoder@users.berlios.de>
Sat, 25 Aug 2007 17:01:14 +0000 (19:01 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 25 Aug 2007 17:01:14 +0000 (19:01 +0200)
Cython/Compiler/Symtab.py

index 592b56982c6b82d589046210f6457cfdb01e8d33..b27e294af5fe5cd94edcfa6fc076c3f9eea52fd1 100644 (file)
@@ -1177,6 +1177,7 @@ class PropertyScope(Scope):
         if signature:
             entry = self.declare(name, name, py_object_type, pos)
             entry.signature = signature
+            entry.is_special = 1
             return entry
         else:
             error(pos, "Only __get__, __set__ and __del__ methods allowed "