Voting for PEP 308 (was Re: For review: PEP 308 - If-then-else expression)

Christos TZOTZIOY Georgiou DLNXPEGFQVEB at spammotel.com
Wed Feb 12 04:22:38 EST 2003


On Tue, 11 Feb 2003 17:33:30 GMT, rumours say that Hans Nowak
<wurmy at earthlink.net> might have written:

>Hmm, what if bools grew an if() method?  We could then write:
>
>   z = (x == y).if(whentrue, whenfalse)

Hans, I won't suggest to take your proposal seriously, but I wanted to
tell you I liked it :)
-- 
TZOTZIOY, I speak England very best,
Real email address: 'dHpvdEBzaWwtdGVjLmdy\n'.decode('base64')




More information about the Python-list mailing list