(cls, op, inv=False)
| 797 | |
| 798 | @classmethod |
| 799 | def _get_binary_operator(cls, op, inv=False): |
| 800 | method = delayed(right(op) if inv else op, pure=True) |
| 801 | return lambda *args, **kwargs: method(*args, **kwargs) |
| 802 | |
| 803 | _get_unary_operator = _get_binary_operator |
| 804 |