Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ E
Class
E
Lib/test/test_isinstance.py:43–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
# other than AttributeError
42
def
test_bases_raises_other_than_attribute_error(self):
43
class
E(object):
44
def
getbases(self):
45
raise
RuntimeError
46
__bases__ = property(getbases)
47
48
class
I(object):
49
def
getclass(self):
Callers
1
getclass
Method · 0.70
Calls
1
property
Class · 0.85
Tested by
1
getclass
Method · 0.56