[Python-ideas] Making colons optional?

Riobard Zhan yaogzhan at gmail.com
Fri Feb 6 15:47:35 CET 2009


On 6-Feb-09, at 4:10 AM, Leif Walsh wrote:
> the folks on the other side seem to have a good
> argument in that "semicolons are optional; [sic] why aren't colons?"

That's exactly the point. Explain the inconsistency, please.
Hints for [sic] part: use semicolons for one-liners; ditto for colons. 
That's why making them "optional". A colon and a semicolon are used in 
this one-liner.


More information about the Python-ideas mailing list

AltStyle によって変換されたページ (->オリジナル) /