m...@pixar.com wrote:
John Machin <sjmac...@lexicon.net> wrote:T=lambda x:x in(25401,25402,25408);import dis;dis.dis(L);dis.dis(T)I've learned a lot from this thread, but this is the niftiest bit I've picked up... thanks!
If you are doing a lot of dissing, starting with from dis import dis saves subsequent typing. tjr -- http://mail.python.org/mailman/listinfo/python-list