mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
This commit is contained in:
parent
ca4d97ea8a
commit
4af4d273bd
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ PyDoc_STRVAR(exit_doc,
|
||||||
\n\
|
\n\
|
||||||
Exit the interpreter by raising SystemExit(status).\n\
|
Exit the interpreter by raising SystemExit(status).\n\
|
||||||
If the status is omitted or None, it defaults to zero (i.e., success).\n\
|
If the status is omitted or None, it defaults to zero (i.e., success).\n\
|
||||||
If the status is numeric, it will be used as the system exit status.\n\
|
If the status is an integer, it will be used as the system exit status.\n\
|
||||||
If it is another kind of object, it will be printed and the system\n\
|
If it is another kind of object, it will be printed and the system\n\
|
||||||
exit status will be one (i.e., failure)."
|
exit status will be one (i.e., failure)."
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue