Guido van Rossum wrote: > > Guido> x = (y if y>z else z) > Maybe I should write a PEP and let the folks in c.l.py vote on it, > just for fun. (I expect to get about as many yes votes as no votes. :-) As long as you wait until April 1 (that's an odd day). I'm an even-day fan of trinary operators myself, but this opens too many questions. For example, with regard to short-circuiting, it will be inconsistent with other expressions at some level in either form or function. -Jerry
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4