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

Function force_exit

IPython/terminal/shortcuts.py:199–203  ·  view source on GitHub ↗

Force exit (with a non-zero return value)

(event)

Source from the content-addressed store, hash-verified

197 event.app.suspend_to_background()
198
199def force_exit(event):
200 """
201 Force exit (with a non-zero return value)
202 """
203 sys.exit("Quit")
204
205def indent_buffer(event):
206 event.current_buffer.insert_text(' ' * 4)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected