Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thamer
on Aug 3, 2022
|
parent
|
context
|
favorite
| on:
PEP 505 – None-aware operators (2015)
There's a major difference though: `value if predicate else alternative` is itself a value, something you can assign to a variable or pass to a function as a parameter.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: