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

Method __call__

IPython/core/formatters.py:255–261  ·  view source on GitHub ↗

Return a JSON'able representation of the object. If the object cannot be formatted by this formatter, warn and return None.

(self, obj)

Source from the content-addressed store, hash-verified

253
254 @abc.abstractmethod
255 def __call__(self, obj):
256 """Return a JSON'able representation of the object.
257
258 If the object cannot be formatted by this formatter,
259 warn and return None.
260 """
261 return repr(obj)
262
263
264def _mod_name_key(typ):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected