Virtual subclass of B
| 355 | return NotImplemented |
| 356 | |
| 357 | class V(OperationLogger): |
| 358 | """Virtual subclass of B""" |
| 359 | def __eq__(self, other): |
| 360 | self.log_operation('V.__eq__') |
| 361 | return NotImplemented |
| 362 | def __le__(self, other): |
| 363 | self.log_operation('V.__le__') |
| 364 | return NotImplemented |
| 365 | def __ge__(self, other): |
| 366 | self.log_operation('V.__ge__') |
| 367 | return NotImplemented |
| 368 | B.register(V) |
| 369 | |
| 370 |
no outgoing calls