Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9bcf8bf

Browse files
committed
Fix error message to use the Python name instead of the C name
1 parent 76450a9 commit 9bcf8bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ thread_PyThread_exit_thread(PyObject *self)
10911091

10921092
PyDoc_STRVAR(exit_doc,
10931093
"exit()\n\
1094-
(PyThread_exit_thread() is an obsolete synonym)\n\
1094+
(exit_thread() is an obsolete synonym)\n\
10951095
\n\
10961096
This is synonymous to ``raise SystemExit''. It will cause the current\n\
10971097
thread to exit silently unless the exception is caught.");

0 commit comments

Comments
 (0)