[Python-ideas] Pipe indentation

spir denis.spir at gmail.com
Mon Dec 9 15:00:33 CET 2013


On 12/09/2013 11:07 AM, musicdenotation at gmail.com wrote:
> if condition:
> | do_this
> | if cond2:
> | |do_that
> else:
> | do_this_instead
>
> This has the advantage of you always knowing which nesting level you are.

Some programming editors, like Geany, do that for you :-) if you set the right 
setting (albeit with a "thinissim" greay dotted line).

Denis


More information about the Python-ideas mailing list