summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-31 12:08:40 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-05-31 12:08:40 (GMT)
commitf2f8503b6574e312783bdc3a16c61b39206518a0 (patch)
treeb3597cd676768c075d8ccada93f450e2c3b15aa9
parentb0b64056d75f13f4e5d3f63b4e696ace05790ac7 (diff)
downloadcpython-f2f8503b6574e312783bdc3a16c61b39206518a0.zip
cpython-f2f8503b6574e312783bdc3a16c61b39206518a0.tar.gz
cpython-f2f8503b6574e312783bdc3a16c61b39206518a0.tar.bz2
Fix error message to use the Python name instead of the C name
-rw-r--r--Modules/threadmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 79e6bab..4e41085 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -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.");