[Python-Dev] Adding a conditional expression in Py3.0 (original) (raw)
Ron Adam rrr at ronadam.com
Thu Sep 22 04:57:30 CEST 2005
- Previous message: [Python-Dev] Adding a conditional expression in Py3.0
- Next message: [Python-Dev] bool(iter([])) changed between 2.3 and 2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing wrote:
Ron Adam wrote:
(a if e then b) ((a1 if e1 then b1) if e then b) (a if e then (a2 if e2 then b2)) ((a1 if e1 then b1) if e then (a2 if e2 then b2)) I think you mean 'else' rather than 'then' in all those, don't you?
Yes of course, thanks for correcting.
- Previous message: [Python-Dev] Adding a conditional expression in Py3.0
- Next message: [Python-Dev] bool(iter([])) changed between 2.3 and 2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]