Coding style

Roger Miller roger.miller at nova-sol.com
Mon Jul 17 16:01:56 EDT 2006


Peter Otten wrote:
> Steve Holden wrote:
>
> > I'll bet you still write
> >
> > if a>3 == True:
> >
> > don't you ;-)
>
> I'll second that.
>
> if (a>3) == True:
>
> is the correct way :-)
>
> Peter

No, to be consistent you'll have to write

   if ((a>3) == True) == True:

Oops, I mean,

   if (((a>3) == True) == True) == True:

Umm, never mind.




More information about the Python-list mailing list