OwlCyberSecurity - MANAGER
Edit File: clsprop.pyc
� 7��ac @ s) d Z d g Z d e f d � � YZ d S( s7 A small utility for defining static class properties. t classpropertyc B s/ e Z d Z d e d � Z d � Z d � Z RS( s� Decorator for a method that wants to return a static class property. The decorated method will only be invoked once, for each class, and that value will be returned for that class. c C s | | _ | | _ i | _ d S( N( t cachet thunkt _classcache( t selfR R ( ( sG /opt/cpanel-ccs/.develop/virtualenv/src/twextpy/twext/python/clsprop.pyt __init__ s c C s | j | | j � S( N( t __class__R ( R R ( ( sG /opt/cpanel-ccs/.develop/virtualenv/src/twextpy/twext/python/clsprop.pyt __call__$ s c C sU | j s | j | � S| j } | | k r8 | | } n | j | � } | | | <| S( N( R R R ( R t instancet ownert cct cached( ( sG /opt/cpanel-ccs/.develop/virtualenv/src/twextpy/twext/python/clsprop.pyt __get__'