summaryrefslogtreecommitdiffstats
path: root/Modules/threadmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2005-02-20 03:02:16 (GMT)
committerGuido van Rossum <guido@python.org>2005-02-20 03:02:16 (GMT)
commit54c273c703957e37100900b3e8a25f94c4c17003 (patch)
treeed1f7720f8b70bff1fd047613303c38e59e332c0 /Modules/threadmodule.c
parentbba6acc714710e7e0190e4eba300b1dc4e492ecf (diff)
downloadcpython-54c273c703957e37100900b3e8a25f94c4c17003.zip
cpython-54c273c703957e37100900b3e8a25f94c4c17003.tar.gz
cpython-54c273c703957e37100900b3e8a25f94c4c17003.tar.bz2
The error message "can't start new thread" should not end in a
newline.
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 cba01fa..eccb678 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);