Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc524f commit 2e5e6fdCopy full SHA for 2e5e6fd
1 file changed
Python/thread.c
@@ -334,14 +334,12 @@ PyThread_GetInfo(void)
334
335
#ifdef HAVE_PTHREAD_STUBS
336
value = Py_NewRef(Py_None);
337
-#elif defined(_POSIX_THREADS)
+#else
338
value = PyUnicode_FromString("pymutex");
339
if (value == NULL) {
340
Py_DECREF(threadinfo);
341
return NULL;
342
}
343
-#else
344
- value = Py_NewRef(Py_None);
345
#endif
346
PyStructSequence_SET_ITEM(threadinfo, pos++, value);
347
0 commit comments