Home | Trees | Indices | Help |
|
---|
|
object --+ | proxy_RO
Decorator for a lazy module dict
or
Read-Only
module property.
See Also: Module Properties | the Proxy Pattern.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
New proxy_RO.
Example: >>> @proxy_RO >>> def mattr(): # no args >>> return ro # singleton
>>> x = [module.]mattr
>>> @proxy_RO >>> def mdict(): # no args >>> d = dict(...) >>> return d # singleton
>>> x = [module.]mdict[k]
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Feb 26 13:23:52 2025 | http://epydoc.sourceforge.net |