Contribute Media
A thank you to everyone who makes this possible: Read More

Making an auto-updating attribute

Description

We don't use getter methods in Python, instead we use the property decorator to make make automatically updating attributes. Properties allow us to customize what happens when you access an attribute.

Details

Improve this page