From f2f8503b6574e312783bdc3a16c61b39206518a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Araujo?= Date: Tue, 31 May 2011 14:08:40 +0200 Subject: [PATCH] Fix error message to use the Python name instead of the C name --- Modules/threadmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); -- 2.50.1