Py3K idea: why not drop the colon?
Steve Holden
steve at holdenweb.com
Thu Nov 9 12:11:01 EST 2006
Paul Boddie wrote:
> Michael Hobbs wrote:
>> I think the colon could be omitted from every type of compound
>> statement: 'if', 'for', 'def', 'class', whatever. Am I missing anything?
>
> The FAQ answer. ;-)
>
> http://www.python.org/doc/faq/general/#why-are-colons-required-for-the-if-while-def-class-statements
>
> Paul
>
I suppose it would be even better if that hyperlink actually took you to
section 1.4.27 rather than 1.4.14 ...
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list
mailing list