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

Method __head

IPython/core/oinspect.py:431–433  ·  view source on GitHub ↗

Return a header string with proper colors.

(self, h: str)

Source from the content-addressed store, hash-verified

429 return None
430
431 def __head(self, h: str) -> str:
432 """Return a header string with proper colors."""
433 return PyColorize.theme_table[self._theme_name].format([(Token.Header, h)])
434
435 def set_theme_name(self, name: str):
436 assert name == name.lower()

Callers 3

pdefMethod · 0.95
pdocMethod · 0.95
format_mimeMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected