'Initialise the :class:`CallbackManager`.
Parameters
shell
The :class:`~IPython.core.interactiveshell.InteractiveShell` instance
available_callbacks
An iterable of names for callback events.'

def __init__(self, shell, available_events):

    self.shell = shell
    self.callbacks = {n: [] for n in available_events}
