Continuing indentation

Ethan Furman ethan at stoneleaf.us
Fri Mar 4 20:01:30 EST 2016


On 03/04/2016 04:30 PM, Ben Finney wrote:> sohcahtoa82 at gmail.com writes:
 >> On Friday, March 4, 2016 at 3:41:29 PM UTC-8, Ben Finney wrote:

 >>> We can't put the binary operator in multiple places,
 >>
 >> <snip>
 >>
 >> Who are you, the binary operator police?  Watch me!
 >>
 >> if x == y and \
 >>          x == z and \
 >>          a > b \
 >>          or b > c \
 >>          and (d is not \
 >>          None \
 >>          ):
 >>      pass
 >
 > Each one of those binary operators is in exactly one place.
 >
 >> You're not the boss of me!
 >
 > Nor am I your father.

What was that disturbance?  The Force whimpering away...

--
~Ethan~





More information about the Python-list mailing list