The use of :
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Mon Nov 29 16:47:30 EST 2004
In <41aa1abb$0$25542$636a15ce at news.free.fr>, bruno modulix wrote:
> <please-someone-correct-me-if-i-am-wrong>
> In fact, from a purely technical POV, the ':' could have been omitted
> from the Python syntax, since indentation does the whole job of defining
> blocks. It's only here for readability AFAIK.
> </please-someone-correct-me-if-i-am-wrong>
The ':' serves as a very good hint to "python aware" text editors to
automagically indent the next line after hitting return.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list