From 54c273c703957e37100900b3e8a25f94c4c17003 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 20 Feb 2005 03:02:16 +0000 Subject: [PATCH] The error message "can't start new thread" should not end in a newline. --- Modules/threadmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index cba01faf06..eccb678e5b 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -494,7 +494,7 @@ thread_PyThread_start_new_thread(PyObject *self, PyObject *fargs) PyEval_InitThreads(); /* Start the interpreter's thread-awareness */ ident = PyThread_start_new_thread(t_bootstrap, (void*) boot); if (ident == -1) { - PyErr_SetString(ThreadError, "can't start new thread\n"); + PyErr_SetString(ThreadError, "can't start new thread"); Py_DECREF(func); Py_DECREF(args); Py_XDECREF(keyw); -- 2.50.1