| 970 | x = statistics._convert(Fraction(-1, 2), float) |
| 971 | self.check_exact_equal(x, -0.5) |
| 972 | class MyFloat(float): |
| 973 | def __truediv__(self, other): |
| 974 | return self.__class__(super().__truediv__(other)) |
| 975 | x = statistics._convert(Fraction(9, 8), MyFloat) |
| 976 | self.check_exact_equal(x, MyFloat(1.125)) |
| 977 |
no outgoing calls
searching dependent graphs…