On 2006-11-10, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Neil> The colon's main purpose seems to be to allow one-liners: > > Neil> Easy to parse: if a < b: a += 1 > Neil> Hard to parse if a < b a += 1 > > No, as the note from Tim Peters referenced by Robert Kern > pointed out earlier in this thread, the ABC language designers > found that indentation-based block structure by itself wasn't > enough to clue new users in about the code structure. Adding > the colon at the end of the if/while/for clause helped.
Thanks. I worded that lousily. -- Neil Cerutti The Minutemen are not tall in terms of height. --Dan Bonner -- http://mail.python.org/mailman/listinfo/python-list