[Python-Dev] [Python-checkins] peps: Add rules for indenting continuation lines.
ben+python at benfinney.id.au
Fri Jun 3 04:16:37 CEST 2011
Greg Ewing <greg.ewing at canterbury.ac.nz> writes:
> Another way to approach that is
> if some_function(
> 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 |
More information about the Python-Dev