You are viewing an older version (9.15.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.15.0 / IPython / terminal / interactiveshell / TerminalInteractiveShell / _make_style_from_name_or_cls

function

IPython.terminal.interactiveshell:TerminalInteractiveShell._make_style_from_name_or_cls

source: /dev/ipython/IPython/terminal/interactiveshell.py:832

Signature

def _make_style_from_name_or_cls(self, name_or_cls)

Summary

Small wrapper that make an IPython compatible style from a style name

Extended Summary

We need that to add style for prompt ... etc.

Aliases

  • IPython.terminal.embed.TerminalInteractiveShell._make_style_from_name_or_cls