Python 3 Deep Dive Part 4 Oop High Quality Instant
def area(self): return self.width * self.height
print(MyClass.version) # 1.0