@celsius.setter def celsius(self, value): if value < -273.15: raise ValueError("Below absolute zero") self._celsius = value
We can access the attributes and methods of an object using dot notation: python 3 deep dive part 4 oop
def area(self): return 3.14 * self.radius ** 2 @celsius
Consider this classic diamond hierarchy: @celsius.setter def celsius(self
class Left(Base): def foo(self): print("Left"); super().foo()
super() does mean "parent class". It means "next class in MRO".