mirror of
https://github.com/python/cpython
synced 2024-09-22 19:13:52 +00:00
Fix error message to use the Python name instead of the C name
This commit is contained in:
parent
b0b64056d7
commit
f2f8503b65
|
@ -715,7 +715,7 @@ thread_PyThread_exit_thread(PyObject *self)
|
|||
|
||||
PyDoc_STRVAR(exit_doc,
|
||||
"exit()\n\
|
||||
(PyThread_exit_thread() is an obsolete synonym)\n\
|
||||
(exit_thread() is an obsolete synonym)\n\
|
||||
\n\
|
||||
This is synonymous to ``raise SystemExit''. It will cause the current\n\
|
||||
thread to exit silently unless the exception is caught.");
|
||||
|
|
Loading…
Reference in a new issue