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

Method __html__

IPython/core/display.py:452–458  ·  view source on GitHub ↗

This method exists to inform other HTML-using modules (e.g. Markupsafe, htmltag, etc) that this object is HTML and does not need things like special characters (<>&) escaped.

(self)

Source from the content-addressed store, hash-verified

450 return self._data_and_metadata()
451
452 def __html__(self):
453 """
454 This method exists to inform other HTML-using modules (e.g. Markupsafe,
455 htmltag, etc) that this object is HTML and does not need things like
456 special characters (<>&) escaped.
457 """
458 return self._repr_html_()
459
460
461class Markdown(TextDisplayObject):

Callers

nothing calls this directly

Calls 1

_repr_html_Method · 0.95

Tested by

no test coverage detected