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

Method sum

Lib/test/test_keywordonlyarg.py:34–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 self.k1 = k1
33 self.k2 = k2
34 def sum(self):
35 return self.k1 + self.k2
36
37class KeywordOnlyArgTestCase(unittest.TestCase):
38 def assertRaisesSyntaxError(self, codestr):

Callers 2

testFunctionCallMethod · 0.45
from_moduleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected