MCPcopy 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
289class OverriddenGetattribute:
290 def __getattribute__(self, attr):
291 raise AssertionError("custom __getattribute__ executed")
292
293 a = 1
294
295
296class OverriddenMRO:

Callers 1

Calls

no outgoing calls

Tested by 1