MCPcopy Create free account
hub / github.com/ipython/ipython / _define_event

Function _define_event

IPython/core/events.py:96–99  ·  view source on GitHub ↗
(callback_function)

Source from the content-addressed store, hash-verified

94available_events = {}
95
96def _define_event(callback_function):
97 callback_proto = callback_prototype(callback_function)
98 available_events[callback_function.__name__] = callback_proto
99 return callback_proto
100
101# ------------------------------------------------------------------------------
102# Callback prototypes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected