summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-26 14:00:39 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-26 14:00:39 +0300
commitd12c86791e6d6e3b11865ff3dbcd2cb03faff763 (patch)
treeecf649e64af3d7fc49cc9fac387fa892454c0db9 /Python
parent03c30959f8c2db6a9bab0034389c4b100a7f287f (diff)
downloadcpython-d12c86791e6d6e3b11865ff3dbcd2cb03faff763.tar.gz
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
Diffstat (limited to 'Python')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 814eccb157..a868715ffc 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -219,7 +219,7 @@ PyDoc_STRVAR(exit_doc,
\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 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\
exit status will be one (i.e., failure)."
);