The error message "can't start new thread" should not end in a

newline.
This commit is contained in:
Guido van Rossum 2005-02-20 03:02:16 +00:00
parent bba6acc714
commit 54c273c703

View file

@ -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);