Beginning programming with Python

Michael Hudson mwh21 at cam.ac.uk
Fri Nov 19 09:18:58 EST 1999


m.faassen at vet.uu.nl (Martijn Faassen) writes:

> Not to mention you couldn't write:
> 
> if foo: print "Foo!"
> 
> without the colons. Not that I'd mind terribly if that usage went
> away though; it is scattered all across the Zope sources which I was
> browsing through last night, and I don't think that construction
> adds to readability. The ':' in my opinion does, though. Even though
> I forget it myself on occasion.

I don't forget it very often, largely because python-mode goes
obviously screwy if you leave it out...

Cheers,
Michael




More information about the Python-list mailing list