alister wrote: > [...] > were i to be less generous I would suggest that you had > deliberately picked the worst python method you could think > of to make the point
Feel free to offer a better solution if you like. INADA Naoki offered a good solution for Python3 folks, but AFAIK, set comprehensions are not avialable as a backported "future feature" for Python2 folks. And surely not for Python1 folks. -- https://mail.python.org/mailman/listinfo/python-list