human
I wrote the below code

    def _main_quit(*a, **kw):
        gtk.main_quit()
        return False
    gobject.io_add_watch(context.fileno(), gobject.IO_IN, _main_quit)
    gtk.main()

What's a good function header?
assistant
#Here's a good function header.

def inputhook(context):