コード例 #1
0
ファイル: test.py プロジェクト: jackdied/boolmatch
 def both(txt):
     return combine_ors(tokenize(txt))
コード例 #2
0
ファイル: test.py プロジェクト: superjessie/boolmatch
 def both(txt): return combine_ors(tokenize(txt))
 self.assertEqual(both('this OR that AND jelly'), ['this OR that', 'AND', 'jelly'])
コード例 #3
0
ファイル: test.py プロジェクト: jackdied/boolmatch
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))
コード例 #4
0
ファイル: test.py プロジェクト: superjessie/boolmatch
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))