How to improve this code?

Tim Golden mail at
Tue Sep 15 18:19:06 CEST 2009

Tim Golden wrote:
> Unless I'm missing something, (and I didn't bother to
> read the original code so I may be) that's a subset test:
> set (searchList) <= set (searchList)

(cough) or, rather:

set (searchList) <= set (sourceList)


More information about the Python-list mailing list