MCPcopy Index your code
hub / github.com/RustPython/RustPython / __rtruediv__

Method __rtruediv__

Lib/_pydecimal.py:1367–1372  ·  view source on GitHub ↗

Swaps self/other and returns __truediv__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

1365 return ans, ans
1366
1367 def __rtruediv__(self, other, context=None):
1368 """Swaps self/other and returns __truediv__."""
1369 other = _convert_other(other)
1370 if other is NotImplemented:
1371 return other
1372 return other.__truediv__(self, context=context)
1373
1374 def __divmod__(self, other, context=None):
1375 """

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__truediv__Method · 0.45

Tested by

no test coverage detected