(self, a, b, slop=1, ordered=True, mindist=1)
:param a: the first query to match.
        :param b: the second query that must occur within "slop" positions of
            the first query.
        :param slop: the number of positions within which the queries must
            occur. Default is 1, meaning the queries must occur right next
            to each other.
        :param ordered: whether a must occur before b. Default is True.
        :pram mindist: the minimum distance allowed between the queries.
:param a: the first query to match.
        :param b: the second query that must occur within "slop" positions of
            the first query.
        :param slop: the number of positions within which the queries must
            occur. Default is 1, meaning the queries must occur right next
            to each other.
        :param ordered: whether a must occur before b. Default is True.
        :pram mindist: the minimum distance allowed between the queries.
: param a : the first query to match . : param b : the second query that must occur within slop positions of the first query . : param slop : the number of positions within which the queries must occur . Default is 1 meaning the queries must occur right next to each other . : param ordered : whether a must occur before b . Default is True . : pram mindist : the minimum distance allowed between the queries .
def __init__(self, a, b, slop=1, ordered=True, mindist=1):
        """
        :param a: the first query to match.
        :param b: the second query that must occur within "slop" positions of
            the first query.
        :param slop: the number of positions within which the queries must
            occur. Default is 1, meaning the queries must occur right next
            to each other.
        :param ordered: whether a must occur before b. Default is True.
        :pram mindist: the minimum distance allowed between the queries.
        """

        self.q = And([a, b])
        self.a = a
        self.b = b
        self.slop = slop
        self.ordered = ordered
        self.mindist = mindist
def __init__ ( self , a , b , slop = 1 , ordered = True , mindist = 1 ) : self . q = And ( [ a , b ] ) self . a = a self . b = b self . slop = slop self . ordered = ordered self . mindist = mindist