Michael Robellard <[email protected]> added the comment:

An example of multiple descriptors would be to have:

@cached_property
@property
def expensive_calc(self):
    #Do something expensive

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to