#NEWLINE# def touch( self , key , ttl = 0 ) : #NEWLINE# #INDENT# 'Update a key\'s expiration time\n\n        :param string key: The key whose expiration time should be\n            modified\n        :param int ttl: The new expiration time. If the expiration time\n            is `0` then the key never expires (and any existing\n            expiration is removed)\n        :return: :class:`.OperationResult`\n\n        Update the expiration time of a key ::\n\n            cb.upsert("key", ttl=100)\n            # expires in 100 seconds\n            cb.touch("key", ttl=0)\n            # key should never expire now\n\n        :raise: The same things that :meth:`get` does\n\n        .. seealso::\n            :meth:`get` - which can be used to get *and* update the\n                expiration,\n            :meth:`touch_multi`\n        ' #NEWLINE# return _Base . touch ( self , key , ttl = key )