Python 2.0
Tim Peters
tim_one at email.msn.com
Fri Jun 4 21:42:11 EDT 1999
[Kumar Balachandran]
> ... why not have optional syntactic sugar such as
> if
> ...
> elif
> ...
> else
> ...
> fi
>
> ...
[Hans Nowak]
> If you think it's more elegant, why not try things like this:
>
> if blahblah:
> do_this()
> do_that()
> #fi
>
> for x in my_sequence:
> print
> print booze.append(x)
> #rof
>
> Or use #endif, #endfor, etc.
> ...
See pindent.py in the distribution's Tools/Scripts/ directory.
it's-dying-from-loneliness-ly y'rs - tim
More information about the Python-list
mailing list