A syntax idea for one-liners
Greg Ewing (using news.cis.dfn.de)
g2h5dqi002 at sneakemail.com
Wed May 28 02:50:01 EDT 2003
Paddy McCarthy wrote:
> * Use character ':' for one extra level of indentation.
> * Use character ';' to separate statements at the same level of
> indentation.
> * Use another character, (or character pair), to denote one level of
> de-dent.
>
> As you can see, I couldn't think of the last character to use :-)
Obviously it should be the one that looks like two
commas one above the other. Inexplicably, it seems to
have been omitted from all current character sets, though.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list