]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
The error message "can't start new thread" should not end in a
authorGuido van Rossum <guido@python.org>
Sun, 20 Feb 2005 03:02:16 +0000 (03:02 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 20 Feb 2005 03:02:16 +0000 (03:02 +0000)
newline.

Modules/threadmodule.c

index cba01faf06d67ce748e42aa5ff45eb36206d6884..eccb678e5beed5329531e71f0595bfbfd92392b0 100644 (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);