def uniq(L):
     r = []
     for item in L:
         if not r in item:
             r.append(item)
     return r

# by Li Daobing http://code.activestate.com/recipes/190465/
# since Python 2.6 there is also itertools.combinations()
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/utils.py/uniq/swapped operands of `in`