Glossary: Python Beyond the Basics
property
Also written: @property
A decorator that lets a method be read like an attribute, without parentheses. It's calculated each time, so it never goes out of date.
Glossary: Python Beyond the Basics
Also written: @property
A decorator that lets a method be read like an attribute, without parentheses. It's calculated each time, so it never goes out of date.