https://docs.python.org/3/reference/datamodel.html#emulating...
It's not made clear here that I can see. Grr, needs type annotations!
This is the correct part: https://docs.python.org/3/reference/expressions.html?highlig...
Edit: you can't override "and" and "or" with dunder methods.
https://docs.python.org/3/library/stdtypes.html#boolean-oper...
The expression is returned based on its truthiness
https://docs.python.org/3/reference/datamodel.html#emulating...
It's not made clear here that I can see. Grr, needs type annotations!