MCPcopy Create free account
hub / github.com/ipython/traitlets / exit

Method exit

traitlets/config/application.py:1062–1065  ·  view source on GitHub ↗
(self, exit_status: int | str | None = 0)

Source from the content-addressed store, hash-verified

1060 self._logging_configured = False
1061
1062 def exit(self, exit_status: int | str | None = 0) -> None:
1063 self.log.debug("Exiting application: %s", self.name)
1064 self.close_handlers()
1065 sys.exit(exit_status)
1066
1067 def __del__(self) -> None:
1068 # __del__ may be called during process teardown,

Callers 2

parse_command_lineMethod · 0.95
innerFunction · 0.45

Calls 1

close_handlersMethod · 0.95

Tested by

no test coverage detected