On Oct 22, 10:58 am, Paul Brauner <[EMAIL PROTECTED]> wrote:
> I'll look at that. Thanks a lot !

I've just had a look, it's the pindent.py script in Tools/Scripts (at
least it is on Windows). It takes code of the following form:

def foobar(a, b):
   if a == b:
       a = a+1
   elif a < b:
       b = b-1
       if b > a: a = a-1
       # end if
   else:
       print 'oops!'
   # end if
# end def foobar

The help in the script looks pretty good.

--
Ant...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to