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.
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.