Pythonic way of saying 'at least one of a, b, or c is in some_list'

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Oct 31 19:26:09 EDT 2010


In message <4cca5aaf$0$1600$742ec2ed at news.sonic.net>, John Nagle wrote:

>     This is cheaper than intersection ...

All together now:

“PREMATURE OPTIMIZATION IS THE ROOT OF ALL EVIL!”



More information about the Python-list mailing list