On Sat, 2007-05-12 at 17:55 -0700, [EMAIL PROTECTED] wrote: > On May 12, 12:56?pm, Carsten Haese <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-05-11 at 14:26 -0700, [EMAIL PROTECTED] wrote: > > > if arg==True: > > > > > tests the type property (whether a list is a boolean). > > > > That sounds nonsensical and incorrect. Please explain what you mean. > > <quote> > Sec 2.2.3: > Objects of different types, except different numeric types and > different string types, never compare equal; > </quote>
That doesn't explain what you mean. How does "if arg==True" test whether "a list is a boolean"? -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list