summaryrefslogtreecommitdiffstats
path: root/Modules/_threadmodule.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-31 12:08:26 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-05-31 12:08:26 (GMT)
commit9bcf8bfb243f66b235a2758573051390a30b6cba (patch)
treef86b099f4b47a97edfd8382eb82a16bb1e399409 /Modules/_threadmodule.c
parent76450a96efb6ea60187c358edef218ef71a18ed9 (diff)
downloadcpython-9bcf8bfb243f66b235a2758573051390a30b6cba.zip
cpython-9bcf8bfb243f66b235a2758573051390a30b6cba.tar.gz
cpython-9bcf8bfb243f66b235a2758573051390a30b6cba.tar.bz2
Fix error message to use the Python name instead of the C name
Diffstat (limited to 'Modules/_threadmodule.c')
-rw-r--r--Modules/_threadmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
index d91c99a..ea038de 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -1091,7 +1091,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.");