I\'m a bit confused about properties in python. Consider the following code
class A: @property def N(self): print(\"A getter\") retur
A and B must be new-style classes in Python 2.x.
property([fget[, fset[, fdel[, doc]]]])
Return a property attribute for new-style classes (classes that derive from object).
So if you'll derive from object
object
class A(object): ... class B(object): ...
Your code will work as expected.