
June 2, 2011
10:18 p.m.
Guido van Rossum wrote:
Bingo. That's why. (Though you are missing some colons in your examples. :-)
--Guido
On Thu, Jun 2, 2011 at 11:50 AM, Glenn Linderman <v+python@g.nevcal.com> wrote:
One place a double indent is extremely nice is for lines that initiate a new indentation, but are themselves continued:
if some_function( Some, Parameters, To, Pass, ) If_True_Operations()
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. -- Greg