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

Method __rtruediv__

Lib/_pydecimal.py:1370–1375  ·  view source on GitHub ↗

Swaps self/other and returns __truediv__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__truediv__Method · 0.45

Tested by

no test coverage detected