Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 85411:187a678c6033 2.7
#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 | a0f43f4481e0 |
| children |
line wrap: on
line diff
--- a/Python/sysmodule.c Mon Aug 26 01:31:30 2013 +0300 +++ b/Python/sysmodule.c Mon Aug 26 14:00:39 2013 +0300 @@ -219,7 +219,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)." );
