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

Method _some_str

IPython/core/ultratb.py:472–477  ·  view source on GitHub ↗
(self, value: Any)

Source from the content-addressed store, hash-verified

470 ostream.flush()
471
472 def _some_str(self, value: Any) -> str:
473 # Lifted from traceback.py
474 try:
475 return str(value)
476 except:
477 return "<unprintable %s object>" % type(value).__name__
478
479
480_sentinel = object()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected