Hacker News new | ask | show | jobs
by jazzyjackson 1795 days ago
See the language around short-circuiting here

https://docs.python.org/3/library/stdtypes.html#boolean-oper...

The expression is returned based on its truthiness