Mercurial > cpython-lru_cache-weakref
diff Modules/threadmodule.c @ 34619:0dd146fed9dd legacy-trunk
The error message "can't start new thread" should not end in a
newline.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 20 Feb 2005 03:02:16 +0000 |
| parents | b4cb49829d3e |
| children | 25a0e1faa8a5 |
line wrap: on
line diff
--- a/Modules/threadmodule.c Sat Feb 19 22:58:26 2005 +0000 +++ b/Modules/threadmodule.c Sun Feb 20 03:02:16 2005 +0000 @@ -494,7 +494,7 @@ 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);
