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

Class Sum

Lib/test/datetimetester.py:1071–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069 return Sum()
1070
1071 class Sum(int):
1072 def __divmod__(self, other):
1073 return divmodresult
1074
1075 for divmodresult in [None, (), (0, 1, 2), (0, -1)]:
1076 with self.subTest(divmodresult=divmodresult):

Callers 2

__add__Method · 0.70
__radd__Method · 0.70

Calls

no outgoing calls

Tested by 2

__add__Method · 0.56
__radd__Method · 0.56