colostomy

John W. Baxter jwbnews at scandaroon.com
Fri Mar 31 21:31:06 EST 2000


In article <38e4758d.5444248 at nntpserver.edvg.co.at>, 
Albert_Brandl at edvg.co.at wrote:

> >Please, PLEASE make colon's optional when not needed.
> >After more than a year, I still frequently type this:
> >    if condition    # or def or while or for etc.
> >        do something
> >
> >instead of
> >    if condition:
> >        do something
> >
> 
> It might help to mentally connect the ":" with the
> word "begin" or "do" - at least that's what works 
> for me most of the time.
> 
> 	Greetings,
> 
I generally let the emacs python-mode tell me when I've forgotten a :, 
which it does by failing to indent the next line "correctly".

  --John

-- 
John W. Baxter   Port Ludlow, WA USA  jwbnews at scandaroon.com





More information about the Python-list mailing list