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

Method ctrlc

bpython/test/test_curtsies_coderunner.py:37–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 )
36
37 def ctrlc():
38 raise KeyboardInterrupt()
39
40 stdout = FakeOutput(c, lambda x: ctrlc(), None)
41 stderr = FakeOutput(c, lambda *args, **kwargs: None, None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected