Continuing indentation
Ben Finney
ben+python at benfinney.id.au
Fri Mar 4 19:30:12 EST 2016
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.
--
\ “… correct code is great, code that crashes could use |
`\ improvement, but incorrect code that doesn’t crash is a |
_o__) horrible nightmare.” —Chris Smith, 2008-08-22 |
Ben Finney
More information about the Python-list
mailing list