¡@

Home 

python Programming Glossary: self.fset

Subclassing Python's `property`

http://stackoverflow.com/questions/12405087/subclassing-pythons-property

self fget None fset None fdel None doc None self.fget fget self.fset fset self.fdel fdel if doc is None and fget is not None doc.. return self.fget obj def __set__ self obj value if self.fset is None raise AttributeError can't set attribute self.fset obj.. self.fset is None raise AttributeError can't set attribute self.fset obj value def __delete__ self obj if self.fdel is None raise..

Python, how does decorator @property work?

http://stackoverflow.com/questions/17330160/python-how-does-decorator-property-work

self fget None fset None fdel None doc None self.fget fget self.fset fset self.fdel fdel if doc is None and fget is not None doc.. return self.fget obj def __set__ self obj value if self.fset is None raise AttributeError can't set attribute self.fset obj.. self.fset is None raise AttributeError can't set attribute self.fset obj value def __delete__ self obj if self.fdel is None raise..