[Python-checkins] cpython (3.3): #18839: document that sys.exit() will not accept a non-integer numeric value as
ezio.melotti
python-checkins at python.org
Mon Aug 26 13:01:59 CEST 2013
http://hg.python.org/cpython/rev/694e50a79638
changeset: 85412:694e50a79638
branch: 3.3
parent: 85409:bf2214d506d3
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Mon Aug 26 14:00:39 2013 +0300
summary:
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
files:
Python/sysmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -240,7 +240,7 @@
\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)."
);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list