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

Function _main_quit

IPython/terminal/pt_inputhooks/gtk.py:53–55  ·  view source on GitHub ↗
(*a, **kw)

Source from the content-addressed store, hash-verified

51 :param context: An `InputHookContext` instance.
52 """
53 def _main_quit(*a, **kw):
54 gtk.main_quit()
55 return False
56
57 gobject.io_add_watch(context.fileno(), gobject.IO_IN, _main_quit)
58 gtk.main()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected