

def __init__(self, requiredquery, optionalquery, boost=1.0):
    "\n        :param requiredquery: Documents matching this query are returned.\n        :param optionalquery: If a document matches this query as well as\n            'requiredquery', the score from this query is added to the\n            document score from 'requiredquery'.\n        "
    self.subqueries = (self, optionalquery)
    self.boost = boost

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py AndMaybe.__init__/VarMisuse@25/127 `requiredquery`->`self`