<s> from django . core . cache . backends . locmem import LocMemCache <EOL> class CloseHookMixin ( object ) : <EOL> closed = False <EOL> def close ( self , ** kwargs ) : <EOL> self . closed = True <EOL> class CacheClass ( CloseHookMixin , LocMemCache ) : <EOL> pass </s>
