I'm searching for Python style guidelines

Fredrik Lundh fredrik at pythonware.com
Mon Jan 7 11:17:12 EST 2008


MartinRinehart at gmail.com wrote:

> Here's just one of my questions:
> 
> foo = [
>     'some item, quite long',
>     'more items, all demanding there own line as they are not short',
>     ...
> 
> Where would you put the closing ']'?

on a line by itself, indented as your favourite Python editor indents it.

</F>




More information about the Python-list mailing list