MCPcopy Index your code
hub / github.com/python/cpython / __rtruediv__

Method __rtruediv__

Lib/test/test_fractions.py:163–165  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

161 return self.__class__(self.numerator * other.denominator,
162 self.denominator * other.numerator)
163 def __rtruediv__(self, other):
164 return self.__class__(other.numerator * self.denominator,
165 other.denominator * self.numerator)
166 def __mod__(self, other):
167 if isinstance(other, F):
168 return NotImplemented

Callers

nothing calls this directly

Calls 1

__class__Method · 0.45

Tested by

no test coverage detected