From d12c86791e6d6e3b11865ff3dbcd2cb03faff763 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 26 Aug 2013 14:00:39 +0300 Subject: #18839: document that sys.exit() will not accept a non-integer numeric value as exit status. --- Python/sysmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 814eccb157..a868715ffc 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)." ); -- cgit v1.2.1