property decorator and inheritance

Laurent laurent.payot at gmail.com
Fri Nov 11 00:17:11 EST 2011


Yes using a separate class variable would transfer the problem to the class level. But adding 10 class variables if I have 10 properties would be ugly. Maybe I should reformulate the subject of this thread to "is there some python magic to pass parameters to decorator-declared properties ?"



More information about the Python-list mailing list