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

Method __repr__

IPython/core/interactiveshell.py:333–336  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

331 raise self.error_in_exec
332
333 def __repr__(self):
334 name = self.__class__.__qualname__
335 return '<%s object at %x, execution_count=%s error_before_exec=%s error_in_exec=%s info=%s result=%s>' %\
336 (name, id(self), self.execution_count, self.error_before_exec, self.error_in_exec, repr(self.info), repr(self.result))
337
338
339class InteractiveShell(SingletonConfigurable):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected