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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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