Property Decorators
Property Decorators
Learning Outcomes
- How to convert methods into properties
- Explain why and when it's useful
Theory
Watch this video:
Knowledge Check
- What does
@property
do? - How does
@[function_name].setter
affect the functionality of a property?