MCPcopy Create free account
hub / github.com/bpython/bpython / __getattribute__

Method __getattribute__

bpython/test/test_inspection.py:290–291  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

288
289class OverriddenGetattribute:
290 def __getattribute__(self, attr):
291 raise AssertionError("custom __getattribute__ executed")
292
293 a = 1
294

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected