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

Method __repr__

IPython/core/tests/test_magic.py:543–544  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

541 def __del__(self):
542 monitor.append(1)
543 def __repr__(self):
544 return "<A instance>"
545
546 _ip.user_ns["a"] = A()
547 _ip.run_cell("a")

Callers 2

test_displayobject_reprFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected