MCPcopy Create free account
hub / github.com/ipython/ipython / __getattr__

Method __getattr__

IPython/core/tests/test_formatters.py:344–345  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

342
343 class CallableMagicHat(object):
344 def __getattr__(self, key):
345 return lambda : key
346
347 call_hat = CallableMagicHat()
348 with capture_output() as captured:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected