Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __int__
Method
__int__
Lib/test/test_descr.py:889–890 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
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):
Callers
1
test_multiple_inheritance
Method · 0.45
Calls
1
foo
Method · 0.95
Tested by
no test coverage detected