A modest indentation proposal

Bjorn Pettersen BPettersen at NAREX.com
Fri Nov 30 00:12:48 CET 2001

> From: Erann Gat [mailto:gat at jpl.nasa.gov] 
> I propose to use a semicolon at the end of a line to denote 
> the end of a block, e.g.:
> for i in l:        # Colon signals beginning of block
>   foo()
>   baz(); boff()    # Semicolon separating statements works as usual
>   bar();           # Semicolon at end of line signals end of block
> biff()
> This convention is 100% backwards-compatible with current 
> practice, that is, code written using this convention runs 
> with no problems in Python as it currently stands.

This is currently correct code:

  for I in l:
     baz(); boff();

FWIW, I don't see what block terminators have to do with large scale

-- bjorn

More information about the Python-list mailing list