Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ OverriddenGetattribute
Class
OverriddenGetattribute
bpython/test/test_inspection.py:289–293 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
287
288
289
class
OverriddenGetattribute:
290
def
__getattribute__(self, attr):
291
raise
AssertionError(
"custom __getattribute__ executed"
)
292
293
a = 1
294
295
296
class
OverriddenMRO:
Callers
1
test_lookup_on_overridden_methods
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_lookup_on_overridden_methods
Method · 0.56