MCPcopy Create free account
hub / github.com/bpython/bpython / sigint

Function sigint

bpython/urwid.py:1265–1266  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

1263 # Twisted sets a sigInt handler that stops the reactor unless
1264 # it sees a different custom signal handler.
1265 def sigint(*args):
1266 reactor.callFromThread(myrepl.keyboard_interrupt)
1267
1268 signal.signal(signal.SIGINT, sigint)
1269

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected