'Compare this :class:`BindParameter` to the given
clause.'

def compare(self, other, **kw):

    return (isinstance(other, BindParameter) and self.type._compare_type_affinity(other.type) and (self.value == other.value))
