Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
37
class
KeywordOnlyArgTestCase(unittest.TestCase):
38
def
assertRaisesSyntaxError(self, codestr):
Callers
2
testFunctionCall
Method · 0.45
from_module
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected