def both(txt): return combine_ors(tokenize(txt))
def both(txt): return combine_ors(tokenize(txt)) self.assertEqual(both('this OR that AND jelly'), ['this OR that', 'AND', 'jelly'])
def _combine_ors(l): return combine_ors(map(tagstr, l))