yet another indentation proposal
aleax at mac.com
Mon Aug 20 17:43:51 CEST 2007
Michael Tobis <mtobis at gmail.com> wrote:
> On Aug 19, 11:51 pm, James Stroud <jstr... at mbi.ucla.edu> wrote:
> > What's wrong with just saying the current indent level? I'd much rather
> > hear "indent 4" than "tab tab tab tab".
> Alternatively, you might also consider writing a simple pre and
> postprocessor so that you could read and write python the way you
> would prefer
As I pointed out in another post to this thread, that's essentially what
Tools/scripts/pindent.py (part of the Python source distribution) does.
Just use and/or adapt that...
More information about the Python-list