On Monday, May 22, 2017 at 3:34:07 PM UTC+1, Serhiy Storchaka wrote: > 22.05.17 17:24, Skip Montanaro пише: > > On Mon, May 22, 2017 at 9:14 AM, bartc <b...@freeuk.com> wrote: > >> I think 'end' can be used in Python too: > >> > >> if (cond): > >> stmts > >> end > >> > >> But: > >> > >> - You need to define a dummy variable 'end' > > > > Interesting idea. You can avoid the dummy variable part by just using > > '#end', however: > > > > if cond: > > stmts > > #end > > See pindent.py.
To save others looking it's in C:\Program Files\Python36\Tools\scripts on my setup. Kindest regards. Mark Lawrence. -- https://mail.python.org/mailman/listinfo/python-list