(self, key, data)
Implementation of :meth:`~simplekv.KeyValueStore.put`.

        Will store the value in the backing store. After a successful or
        unsuccessful store, the cache will be invalidated by deleting the key
        from it.
Implementation of :meth:`~simplekv.KeyValueStore.put`.
Implementation of : meth : ~simplekv . KeyValueStore . put .
def put(self, key, data):
        """Implementation of :meth:`~simplekv.KeyValueStore.put`.

        Will store the value in the backing store. After a successful or
        unsuccessful store, the cache will be invalidated by deleting the key
        from it.
        """
        try:
            return self._dstore.put(key, data)
        finally:
            self.cache.delete(key)
def put ( self , key , data ) : try : return self . _dstore . put ( key , data ) finally : self . cache . delete ( key )