allowing braces around suites
Andrew Koenig
ark at acm.org
Fri Aug 27 11:32:44 EDT 2004
"Kjetil Torgrim Homme" <kjetilho at yksi.ifi.uio.no> wrote in message
news:1r3c28g6o9.fsf at rovereto.ifi.uio.no...
> my suggestion is to allow braces to mark the suites. Python is still
> strictly enforcing indentation, in fact, in some ways it's stricter
> then before.
The following code is legal today:
def foo(x):
print x
x = 3
if x == 3:
{
foo(x) : 42
}
Are you proposing to change the meaning of this code?
More information about the Python-list
mailing list