':raises ValueError: If ``compare`` and ``version`` values are not
compatible.'

def __init__(self):

    if ((self.compare is None) != (self.version is None)):
        raise ValueError('Must    specify    both    or    neither    compare    and    version.')
