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. Skip -- http://mail.python.org/mailman/listinfo/python-list