writable property
Project description
Installation
$ [sudo] pip install writable-property
Classes
class | __doc__ |
---|---|
writable_property.writable_property |
writable property class |
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-2019.4.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ce1146bb1195cb9aed1fc68ce892bb43a43c74ee06f08c74c17f590d6eb3c5 |
|
MD5 | 59305193b52a5ad4955f54b9e8c06913 |
|
BLAKE2b-256 | 85f7b63e4aceee6d65dcdd0c56e37a81aadf355b3490e64a0eedf87967ec70d8 |