On Thu, 30 Aug 2007 20:06:38 -0700, zzbbaadd wrote > On Aug 30, 4:48 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > > > It suddenly dawned on me that what would be best would be a contains() > > > (or IN syntax for those who can't afford to wait) for lists. > > > > > if mylist.contains("hello): > > > > Genius. Why didn't anyone think of that before? > > With an attitude like that Chris, don't expect to be getting an > invite to beta test my Python 3 fork.
Welcome to comp.lang.python, where laziness is punished with brutal sarcasm. -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list