Why the colon?
Chris Barker
Chris.Barker at noaa.gov
Mon Jul 1 14:23:31 EDT 2002
Carel Fellinger wrote:
> > Then what am I to make of the colons at the end of lines 1 and
> > 2? "Yoo-hoo, interpreter! I'm about to start indenting now!" Hmmm....
> So it's there for the most
> Pythonic of all Pythonic virtues: readability.
It also makes it easier to write auto-indenting editors, though I'm not
sure that's a good excuse.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Python-list
mailing list