Skip to content

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.

Where the book teaches it

Related terms

decoratorattribute