Repository URL to install this package:
Version:
4.0.109 ▾
|
ó ôEYc @@ sT d Z d d l m Z d Z d e f d YZ e f Z d Z d Z d S( s' Key functions for memoizing decorators.i ( t absolute_importt hashkeyt typedkeyt _HashedTuplec B@ s; e Z d Z e j d Z e j d Z e j d Z RS( c C@ s/ | j } | d k r+ | | | _ } n | S( N( t _HashedTuple__hashvaluet None( t selft hasht hashvalue( ( sD /home/tvault/.virtenv/lib/python2.7/site-packages/cachetools/keys.pyt __hash__ s c C@ s t | | | S( N( R ( R t othert add( ( sD /home/tvault/.virtenv/lib/python2.7/site-packages/cachetools/keys.pyt __add__ s c C@ s t | | | S( N( R ( R R R ( ( sD /home/tvault/.virtenv/lib/python2.7/site-packages/cachetools/keys.pyt __radd__ s N( t __name__t __module__R R t tupleR R R ( ( ( sD /home/tvault/.virtenv/lib/python2.7/site-packages/cachetools/keys.pyR s c O@ s7 | r) t | t t | j t St | Sd S( s8 Return a cache key for the specified hashable arguments.N( R t sumt sortedt itemst _kwmark( t argst kwargs( ( sD /home/tvault/.virtenv/lib/python2.7/site-packages/cachetools/keys.pyR s #c O@ sS t | | } | t d | D 7} | t d t | j D 7} | S( s>