MCPcopy Index your code
hub / github.com/ipython/ipython / CallableMagicHat

Class CallableMagicHat

tests/test_formatters.py:412–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410 assert "FormatterWarning" not in captured.stderr
411
412 class CallableMagicHat(object):
413 def __getattr__(self, key):
414 return lambda: key
415
416 call_hat = CallableMagicHat()
417 with capture_output() as captured:

Callers 1

test_print_method_weirdFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_print_method_weirdFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…