(self, source, dest)
return k
Implementation of :meth:`~simplekv.CopyMixin.copy`.

        Copies the data in the backing store and removes the destination key from the cache,
         in case it was already populated.
         Does not work when the backing store does not implement copy.
Implementation of :meth:`~simplekv.CopyMixin.copy`.
Implementation of : meth : ~simplekv . CopyMixin . copy .
def copy(self, source, dest):
        """Implementation of :meth:`~simplekv.CopyMixin.copy`.

        Copies the data in the backing store and removes the destination key from the cache,
         in case it was already populated.
         Does not work when the backing store does not implement copy.
         """
        try:
            k = self._dstore.copy(source, dest)
        finally:
            self.cache.delete(dest)
        return k
def copy ( self , source , dest ) : try : k = self . _dstore . copy ( source , dest ) finally : self . cache . delete ( dest ) return k