From: Ezio Melotti Date: Mon, 26 Aug 2013 11:00:39 +0000 (+0300) Subject: #18839: document that sys.exit() will not accept a non-integer numeric value as exit... X-Git-Tag: v2.7.6rc1~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08350fb639a54b8977784f09ee1741441650724f;p=thirdparty%2FPython%2Fcpython.git #18839: document that sys.exit() will not accept a non-integer numeric value as exit status. --- diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 814eccb15711..a868715ffcf0 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)." );