[Python-ideas] Before and after the colon in funciton defs.
Eric Snow
ericsnowcurrently at gmail.com
Thu Sep 22 00:38:39 CEST 2011
On Wed, Sep 21, 2011 at 3:59 PM, Guido van Rossum <guido at python.org> wrote:
> Hm. I think doing this as an expression modifier is too wacky. But as
> a statement modifier, it could fit in the lineage of global and
> nonlocal.
Agreed, though just for assignment statements. Also, it may be
confusing to allow more than one static assignment to the same name in
the function body. Perhaps that should be a SyntaxError.
-eric
>
> --
> --Guido van Rossum (python.org/~guido)
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
More information about the Python-ideas
mailing list