On 4/23/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > ... the normal Python rule is that if you have a full-colon > (ANYWHERE), and you put something after it on the > same line, then you're done the block.
That would already be a slight improvement, from my perspective. Today, being done is required, but not sufficient. The improvement is only slight, because the use case is quick examples, and the extra regularity would be nice, but isn't required. >>> class C: def m(self): pass but >>> class C: def m(self): pass SyntaxError: invalid syntax -jJ _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com