Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82031

Re: Tabs for indentation & Spaces for alignment in Python 3?

Date 2014-12-06 01:50 +0000
Subject Re: Tabs for indentation & Spaces for alignment in Python 3?
From Aahan Krish <krish@aahan.me>
Newsgroups comp.lang.python
Message-ID <mailman.16647.1417830651.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Ned,

I thought that the use of tabs and spaces in the manner I suggested is
pretty common. Linux Kernel follows the same technique, for example:
https://github.com/torvalds/linux/blob/master/kernel/async.c#L100

Of course, I understand the gist of what you are saying—if people don't
understand this technique properly and start mixing up tabs and spaces
interchangeably or wrongly the code'd get mangled pretty quickly.

Thank you for the heads up!


Best,
Aahan

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Tabs for indentation & Spaces for alignment in Python 3? Aahan Krish <krish@aahan.me> - 2014-12-06 01:50 +0000

csiph-web