>>>>> Steven D'Aprano <st...@remove-this-cybersource.com.au> (SD) wrote:
>SD> On Fri, 24 Apr 2009 03:00:26 -0700, GC-Martijn wrote: >>> ------------------------------------------ The long way >>> t = Test() >>> if (t == 'Vla': >>> print t # must contain Vla >SD> What's wrong with that? Missing ')' or better spurious '(' :=) -- Piet van Oostrum <p...@cs.uu.nl> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org -- http://mail.python.org/mailman/listinfo/python-list