writable property
Project description
Installation
$ [sudo] pip install writable-property
Examples
>>> from writable_property import writable_property
>>> class Class:
@writable_property
def prop(self):
return "value"
>>> obj = Class()
>>> obj.prop
"value"
>>> obj.prop = "new"
>>> obj.prop
"new"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for writable-property-2020.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed0f084e453a3de74841511d5f8961c660fcae264cba155c49009caf85255abd |
|
MD5 | 010561f9978c91fbfd5950a7a920cf92 |
|
BLAKE2b-256 | 55f9e94ab19adb171876d461eaaff3830e43c790cbcc0d83e23954a79a84d6aa |