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

Method __repr__

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

Source from the content-addressed store, hash-verified

298 self.shell_futures = shell_futures
299
300 def __repr__(self):
301 name = self.__class__.__qualname__
302 raw_cell = ((self.raw_cell[:50] + '..')
303 if len(self.raw_cell) > 50 else self.raw_cell)
304 return '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s>' %\
305 (name, id(self), raw_cell, self.store_history, self.silent, self.shell_futures)
306
307
308class ExecutionResult(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected