BuildExecutable: use correct executable extension, build dynamically instead of stati...
[cython.git] / tests / broken / r_extproperty.pyx
1 cdef class CheeseShop:
2     cdef object cheeses
3
4     def __cinit__(self):
5         self.cheeses = []
6
7     property cheese:
8
9         "A senseless waste of a property."
10
11         def __get__(self):
12             return "We don't have: %s" % self.cheeses
13
14         def __set__(self, value):
15             self.cheeses.append(value)
16
17         def __del__(self):
18             del self.cheeses[:]