One-liner blocks (was Re: accessing a functions var from a subfunction.)
Dave Benjamin
ramen at lackingtalent.com
Thu Apr 24 04:05:19 EDT 2003
In article <gcjna.35728$T34.931514 at news2.tin.it>, Alex Martelli wrote:
> Aahz wrote:
>> Note that Guido deeply regrets permitting one-line blocks; this is
>> something he may try fixing for Python 3.0.
>
> Forcing linebreak after each & every colon? Oh well -- he's probably
> getting bribes from large-screen and vertical-aspect-ratio monitor
> manufacturers, is my guess...;-)
A certain colleague of mine insists on putting a newline after every
function call argument, with the final parenthesis on its own line. His
aspect ration looks about normal; I think it has more to do with the
lines-of-code metric. ;)
Peace,
Dave
More information about the Python-list
mailing list