Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 22531:ef314b37e260 2.2
backport nascheme's checkin of
revision 2.102 of sysmodule.c
Fix wording of sys.exit docstring. Close SF bug 534113.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Mon, 25 Mar 2002 12:33:56 +0000 |
| parents | 0859e764509e |
| children | 652f1b318e5a 3f4b2f93e8b5 |
comparison
equal
deleted
inserted
replaced
| 22530:45721c021606 | 22531:ef314b37e260 |
|---|---|
| 154 static char exit_doc[] = | 154 static char exit_doc[] = |
| 155 "exit([status])\n\ | 155 "exit([status])\n\ |
| 156 \n\ | 156 \n\ |
| 157 Exit the interpreter by raising SystemExit(status).\n\ | 157 Exit the interpreter by raising SystemExit(status).\n\ |
| 158 If the status is omitted or None, it defaults to zero (i.e., success).\n\ | 158 If the status is omitted or None, it defaults to zero (i.e., success).\n\ |
| 159 If the status numeric, it will be used as the system exit status.\n\ | 159 If the status is numeric, it will be used as the system exit status.\n\ |
| 160 If it is another kind of object, it will be printed and the system\n\ | 160 If it is another kind of object, it will be printed and the system\n\ |
| 161 exit status will be one (i.e., failure)."; | 161 exit status will be one (i.e., failure)."; |
| 162 | 162 |
| 163 #ifdef Py_USING_UNICODE | 163 #ifdef Py_USING_UNICODE |
| 164 | 164 |
