DEV Community

loading...

Discussion on: Do your own Python's @property

Collapse
mzsrtgzr2 profile image
Moshe Roth Author

thanks mate!
regarding the "replaced"... it looks like "wrapping" indeed but it's important to understand that the value of this class attribute that used to be what you wrote as 'temperature' is replaced with the value of what's returned from the decorator. this is why i used "replaced". i think the word "wrapping" is not strict enough.