PEP #99484663

Russell Nelson nelson at crynwr.com
Sun Nov 10 01:34:40 EST 2002


Suggested PEP:

Treat { and } when encountered at the end of a statement like this:

When you see a {, generate an error if the next statement is not
indented more than the previous statement.  When you see }, generate
an error if the next statement is not indented less than the previous
statement.

In this manner, people who are unable to wean themselves from silly
syntactic block structure tokens will be happy with Python, rather
than continually whinging about how horrible it is that indentation is
meaningful to the program.

-- 
-russ nelson              http://russnelson.com |
Crynwr sells support for free software  | PGPok | it's better to be free
521 Pleasant Valley Rd. | +1 315 268 1925 voice | than to be correct.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |



More information about the Python-list mailing list