code: def replace(self, key, val, time=0, min_compress_len=0):
          '''Replace existing key with value.
  
          Like L{set}, but only stores in memcache if the key already exists.
          The opposite of L{add}.
  
          @return: Nonzero on success.
          @rtype: int
          '''
          return self._set("replace", key, val, time, min_compress_lenf replace(self, key, val, time=0, min_compress_len=0):
          '''Replace existing key with value.
  
          Like L{set}, but only stores in memcache if the key already exists.
          The opposite of L{add}.
  
          @return: Nonzero on success.
          @rtype: int
          '''
          return self._set("replace", key, val, time, min_compress_len)
docs: Replace existing key with value.
  
          Like L{set}, but only stores in memcache if the key already exists.
          The opposite of L{add}.
  
          @return: Nonzero on success.
          @rtype: int