Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only

Raise a :exc:`SystemExit` exception, signaling an intention to exit the interpreter.

The optional argument *arg* can be an integer giving the exit status
(defaulting to zero), or another type of object. If it is an integer, zero
is considered "successful termination" and any nonzero value is considered
The optional argument *arg* can be an integer or boolean giving the exit status
(defaulting to zero), or another type of object. If it is an integer or boolean, zero/``False``
is considered "successful termination" and any nonzero value/``True`` is considered
"abnormal termination" by shells and the like. Most systems require it to be
in the range 0--127, and produce undefined results otherwise. Some systems
have a convention for assigning specific meanings to specific exit codes, but
Expand Down
Loading