示例#1
0
 def both(txt):
     return combine_ors(tokenize(txt))
示例#2
0
 def both(txt): return combine_ors(tokenize(txt))
 self.assertEqual(both('this OR that AND jelly'), ['this OR that', 'AND', 'jelly'])
示例#3
0
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))
示例#4
0
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))