![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: [Info] PEP 308 accepted - new conditional expressions
From: Rocco Moretti <roccomoretti@hotpop.com>
Date: Fri Sep 30 2005 - 20:53:41 CEST
Reinhold Birkenfeld wrote:
Any word on chaining?
That is, what would happen with the following constructs:
A if B else C if D else F
The first one is the tricky bit - it could be either
(A if B else C) if D else F
I'd expect the former from left-> right semantics, but reading the
|