class C (object): def __ror__ (self, other): return 42 print C() | C()