mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
The error message "can't start new thread" should not end in a
newline.
This commit is contained in:
parent
bba6acc714
commit
54c273c703
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue