Don't export pending_threadfunc from _testcapi. (GH-8075)

This commit is contained in:
Benjamin Peterson
2018-07-03 22:30:56 -07:00
committed by GitHub
parent 3c452404ae
commit b4588c2fff

View File

@@ -2429,7 +2429,8 @@ static int _pending_callback(void *arg)
/* The following requests n callbacks to _pending_callback. It can be
* run from any python thread.
*/
PyObject *pending_threadfunc(PyObject *self, PyObject *arg)
static PyObject *
pending_threadfunc(PyObject *self, PyObject *arg)
{
PyObject *callable;
int r;