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

Method __rpow__

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

Source from the content-addressed store, hash-verified

124 return NotImplemented
125 return self.__class__(f'{self} ** {other}')
126 def __rpow__(self, other):
127 return self.__class__(f'{other} ** {self}')
128 def __eq__(self, other):
129 if other.__class__ != self.__class__:
130 return NotImplemented

Callers

nothing calls this directly

Calls 1

__class__Method · 0.45

Tested by

no test coverage detected