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

Function _main_quit

IPython/terminal/pt_inputhooks/gtk3.py:6–8  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

4from gi.repository import Gtk, GLib
5
6def _main_quit(*args, **kwargs):
7 Gtk.main_quit()
8 return False
9
10def inputhook(context):
11 GLib.io_add_watch(context.fileno(), GLib.PRIORITY_DEFAULT, GLib.IO_IN, _main_quit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected