| 2722 | |
| 2723 | # and that __array_priority__ is respected |
| 2724 | class MyClass2: |
| 2725 | __array_priority__ = 100 |
| 2726 | |
| 2727 | def __mul__(self, other): |
| 2728 | return "Me2mul" |
| 2729 | |
| 2730 | def __rmul__(self, other): |
| 2731 | return "Me2rmul" |
| 2732 | |
| 2733 | def __rtruediv__(self, other): |
| 2734 | return "Me2rdiv" |
| 2735 | |
| 2736 | me_too = MyClass2() |
| 2737 | assert_(a.__mul__(me_too) is NotImplemented) |
no outgoing calls
searching dependent graphs…