]> 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 edd6649ae6dd7a92f4668c717cc8e717e39ff654..1a41d2fa71ee78c384bbdd8afd26514f9b793f54 100644 (file)
@@ -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)."
 );