]> granicus.if.org Git - python/commitdiff
#18839: document that sys.exit() will not accept a non-integer numeric value as exit...
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 26 Aug 2013 11:00:39 +0000 (14:00 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 26 Aug 2013 11:00:39 +0000 (14:00 +0300)
Python/sysmodule.c

index 814eccb157111faf02451d148be73f201119281f..a868715ffcf06cee44eca000a52d6392bea4f03d 100644 (file)
@@ -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)."
 );