Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ foo
Method
foo
Lib/test/test_descr.py:1634–1634 ·
view source on GitHub ↗
(*a)
Source
from the content-addressed store, hash-verified
1632
# Testing class methods...
1633
class
C(object):
1634
def
foo(*a):
return
a
1635
goo = classmethod(foo)
1636
c = C()
1637
self.assertEqual(C.goo(1), (C, 1))
Callers
nothing calls this directly
Calls
1
abs
Function · 0.85
Tested by
no test coverage detected