FWIW, the lack of a ternary select is one of the frequently asked questions in my Python courses. It would make TomC happier as well. I'm not sure the latter is a feature. =) On the topic of aesthetics, the C syntax doesn't strike me as the ultimate in pythonicity but it's not too bad either. I can't think of an alternative that doesn't involve a new reserved word. --david
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