Greg Ewing <greg.ew...@canterbury.ac.nz> writes:

> Another way to approach that is
>
> if some_function(
>     Some,
>     Parameters,
>     To,
>     Pass,
>     ):
>         If_True_Operations()
>
> i.e. indent the *body* one more place. This avoids the jarriness of
> seeing an outdent that doesn't correspond to the closing of a suite.

−1. Continuation lines for a single statement *should* look different (I
disagree with “jarring”) from a suite of statements.

-- 
 \         “Simplicity and elegance are unpopular because they require |
  `\           hard work and discipline to achieve and education to be |
_o__)                                appreciated.” —Edsger W. Dijkstra |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to