An interesting beginner question: why we need colon at all in the python language?

Ian Kelly ian.g.kelly at
Mon Jul 11 11:28:11 EDT 2011

On Mon, Jul 11, 2011 at 8:50 AM, Sébastien Volle
<sebastien.volle at> wrote:
> Could it have been made optional, like the trailing comma in list
> declaration?

Cobra makes the colons optional, so probably yes.

More information about the Python-list mailing list