Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Node
Class
Node
Lib/test/test_descr.py:888–892 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
886
887
# SF bug #442833
888
class
Node(object):
889
def
__int__(self):
890
return
int(self.foo())
891
def
foo(self):
892
return
"23"
893
class
Frag(Node, list):
894
def
foo(self):
895
return
"42"
Callers
2
test_multiple_inheritance
Method · 0.70
test_deepcopy_recursive
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_multiple_inheritance
Method · 0.56
test_deepcopy_recursive
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…