A counter-proposal to __future__ in PEP 236
Alex Martelli
aleaxit at yahoo.com
Sat Mar 3 17:20:57 EST 2001
"Lloyd Sommerer" <lsommerer at sewardweb.com> wrote in message
news:3A9FBE5C.95615241 at sewardweb.com...
> Speaking as someone who is very new to python (3 weeks) and has only
> written two programs, using a colon in this manner would have been
> confusing. Right now, my understanding is that the colon exists (apart
> from slicing) only to allow statements to follow immediately after a
> looping or control structure (on the same line).
Actually, colons are used, for readability, in various situations where
it's quite rare for the suite to follow on the same line -- who ever
does that with 'class Name:', for example?
Alex
More information about the Python-list
mailing list