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

Method __rfloordiv__

Lib/_pydecimal.py:1557–1562  ·  view source on GitHub ↗

Swaps self/other and returns __floordiv__.

(self, other, context=None)

Source from the content-addressed store, hash-verified

1555 return self._divide(other, context)[0]
1556
1557 def __rfloordiv__(self, other, context=None):
1558 """Swaps self/other and returns __floordiv__."""
1559 other = _convert_other(other)
1560 if other is NotImplemented:
1561 return other
1562 return other.__floordiv__(self, context=context)
1563
1564 def __float__(self):
1565 """Float representation."""

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
__floordiv__Method · 0.45

Tested by

no test coverage detected