summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-26 11:00:39 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-26 11:00:39 (GMT)
commit4af4d273bd2c18e8e3d56dc43a877ce04a5a1e13 (patch)
tree1b07a0c8681efe626643ca7a56053fd47db1908c
parentca4d97ea8a9d10953c575477736a5058497bd108 (diff)
downloadcpython-4af4d273bd2c18e8e3d56dc43a877ce04a5a1e13.zip
cpython-4af4d273bd2c18e8e3d56dc43a877ce04a5a1e13.tar.gz
cpython-4af4d273bd2c18e8e3d56dc43a877ce04a5a1e13.tar.bz2
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index edd6649..1a41d2f 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)."
);