From: Éric Araujo Date: Tue, 31 May 2011 12:08:40 +0000 (+0200) Subject: Fix error message to use the Python name instead of the C name X-Git-Tag: v2.7.3rc1~710^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2f8503b6574e312783bdc3a16c61b39206518a0;p=python Fix error message to use the Python name instead of the C name --- diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 79e6babcd1..4e41085ed9 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.");