Re: Coding style
- From: "Roger Miller" <roger.miller@xxxxxxxxxxxx>
- Date: 17 Jul 2006 13:01:56 -0700
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.
.
- References:
- Coding style
- From: PTY
- Re: Coding style
- From: Simon Brunning
- Re: Coding style
- From: tac-tics
- Re: Coding style
- From: Steve Holden
- Re: Coding style
- From: Peter Otten
- Coding style
- Prev by Date: Re: how to know if socket is still connected
- Next by Date: execute a shell script from a python script
- Previous by thread: Re: Coding style
- Next by thread: Re: Coding style
- Index(es):
Relevant Pages
|