human
Complete the below
def bind_values(clause):

    ''''Return an ordered list of "bound" values in the given clause.
    E.g.::
    >>> expr = and_(
    ...    table.c.foo==5, table.c.foo==7
    >>> bind_values(expr)
    [5, 7]'
    '''
assistant
#Here is the Python code you requested.
    v = []
    def visit_bindparam(bind):
        v.append(bind.effective_value)
    visitors.traverse(clause, {}, {'bindparam': visit_bindparam})
    return v