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

Method __radd__

Lib/test/datetimetester.py:1068–1069  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1066 def __add__(self, other):
1067 return Sum()
1068 def __radd__(self, other):
1069 return Sum()
1070
1071 class Sum(int):
1072 def __divmod__(self, other):

Callers 2

test_mixed_addMethod · 0.45
test_mixed_addMethod · 0.45

Calls 1

SumClass · 0.70

Tested by

no test coverage detected