[Python-ideas] Pipe indentation

Christopher Welborn cjwelborn at live.com
Tue Dec 10 14:55:01 CET 2013


On 12/09/2013 11:21 PM, Stephen J. Turnbull wrote:
> Christopher Welborn writes:
>
>   > Here's a link to a screen shot that shows Sublime Text's nesting level
>   > lines:
>
>   > http://imgur.com/yRGNCKu
>
>   > ...a lot of editors do this, tab or space.
>
> But do they get it Pythonically correct?  Ie, in counting indentation,
> 1 TAB = 1 SPC, regardless of what it looks like on screen.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>

Whatever you set the tab-spacing to is what it shows up as. I set mine 
to 4 so the pic shows 4. If you set it to 1 or 2 you will see a lot of 
vertical lines.
-- 

- Christopher Welborn <cjwelborn at live.com>
   http://welbornprod.com



More information about the Python-ideas mailing list