Overriding @property setters in Python 3
@someprop.setter
def someprop(self, value):
# do some other important things here
super(ParentClass, self.__class__).someprop.fset(self, value)
Written by Simon Coulton
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#