Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 85412:694e50a79638 3.3
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Mon, 26 Aug 2013 14:00:39 +0300 |
| parents | dca92e8a011a |
| children | 780a0199c7f1 6cb3ae431bef |
line wrap: on
line diff
--- a/Python/sysmodule.c Sun Aug 25 19:05:55 2013 -0700 +++ b/Python/sysmodule.c Mon Aug 26 14:00:39 2013 +0300 @@ -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)." );
