On Fri, Mar 16, 2012 at 10:52 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Fri, 16 Mar 2012 01:48:09 +1100, Chris Angelico wrote: > >> In a trivial example, it's mostly just noise: >> >> if a == b # who needs the colon? >> print(c) > > The reader, for the same reason that above you wrote: > > "In a trivial example, it's mostly just noise COLON" > > and indeed I too used a colon for the same reason. It ties the lead > sentence to the following block without ending the sentence, but still > introducing a new grouping or clause.
Yep. As everyone who communicates on the internet knows, punctuation can often be omitted without introducing ambiguity. That doesn't mean it *should* be omitted. NOT TELEGRAMS TODAY STOP ChrisA -- http://mail.python.org/mailman/listinfo/python-list