summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
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
commit7d3957d92d416e3f169be669c6ea2f8f8dbd5565 (patch)
tree04c0d4a56a97f82f87960eee6e866a84a40fd7e8 /Python/sysmodule.c
parent220dcb8bc7cf30a026f5682548e0983725c56706 (diff)
downloadcpython-7d3957d92d416e3f169be669c6ea2f8f8dbd5565.tar.gz
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index edd6649ae6..1a41d2fa71 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -240,7 +240,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)."
);