[Python-ideas] Before and after the colon in funciton defs.

Guido van Rossum guido at python.org
Thu Sep 22 18:58:38 CEST 2011

FWIW, I'm at best +0 on doing anything here; I'm -1 on the
expression-style (static <expr>) form but could live with the
statement (whether or not combined with assignment -- IIRC that was
planned for nonlocal and I don't see why we couldn't upgrade nonlocal
and global at the same time).

The main argument for static would be that this is what all other
relevant languages call it.

If we really want to do something else, I recommend reviving
Algol-60's "OWN" keyword.

--Guido van Rossum (python.org/~guido)

More information about the Python-ideas mailing list