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

bundles / IPython 9.11.0 / IPython / core / events / EventManager / __init__

function

IPython.core.events:EventManager.__init__

source: /IPython/core/events.py:39

Signature

def __init__(self, shell: InteractiveShell, available_events: Iterable[str], print_on_error: bool = True) → None

Summary

Initialise the CallbackManager.

Parameters

shell

The InteractiveShell instance

available_events

An iterable of names for callback events.

print_on_error:

A boolean flag to set whether the EventManager will print a warning which a event errors.

Aliases

  • IPython.core.events.EventManager.__init__