This is a development version (9.18.0.dev) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.18.0.dev / IPython / utils / PyColorize / Parser / __init__

function

IPython.utils.PyColorize:Parser.__init__

source: /IPython/utils/PyColorize.py:482

Signature

def __init__(self, out: Any = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, *, theme_name: str | None = None) → None

Summary

Create a parser with a specified color table and output channel.

Extended Summary

Call format() to process code.

Aliases

  • IPython.utils.PyColorize.Parser.__init__