def delete(key,
           host=DEFAULT_HOST,
           port=DEFAULT_PORT,
           time=DEFAULT_TIME):
    '''
    Delete a key from memcache server

    CLI Example:

    .. code-block:: bash

        salt '*' memcached.delete <key>
    '''
    if not isinstance(time, six.integer_types):
        raise SaltInvocationError('\'time\' must be an integer')
    conn = _connect(host, port)
    _check_stats(conn)
    return bool(conn.delete(key, time))
def delete ( key , host = DEFAULT_HOST , port = DEFAULT_PORT , time = DEFAULT_TIME ) : if not isinstance ( time , six . integer_types ) : raise SaltInvocationError ( '\'time\' must be an integer' ) conn = _connect ( host , port ) _check_stats ( conn ) return bool ( conn . delete ( key , time ) )
Delete a key from memcache server

    CLI Example:

    .. code-block:: bash

        salt '*' memcached.delete <key>