Why no 'elif' in try/except?
Greg Ewing
see at my.signature
Tue Jun 12 02:06:57 EDT 2001
Jonathan Gardner wrote:
>
> Wouldn't an 'eltry' (= "else: try:" ) make more sense?
While we're hypergeneralising, how about allowing
any sequence of
keyword1:
keyword2:
keyword3:
...
be contracted to
keyword1 keyword2 keyword3... :
e.g.
if fooble:
...
else:
while x < 10:
...
becomes
if fooble:
...
else while x < 10:
...
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list