Python - multiple @property statements in class definition?
No, you can use multiple @property
decorators to your heart's content. There is no limit here, other than that of example writers imaginations, apparently.
The Python standard library is full of @property
use if you want examples:
numbers
defines ABCs for the numbers classes in Python.tempfile
implements temporary file objectsthreading
provding higher-level thread supporturlparse
for handling URLs and query strings.
etc.
You had it spot on; multiple properties would look exactly like what you posted.