From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 4 Jul 2018 05:50:34 +0000 (-0700) Subject: Don't export pending_threadfunc from _testcapi. (GH-8075) X-Git-Tag: v3.7.1rc1~337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=123f2b4540e514e96c1aa35bbf3f543ef57dfd27;p=python Don't export pending_threadfunc from _testcapi. (GH-8075) (cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608) Co-authored-by: Benjamin Peterson --- diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index afce6c9448..41660157d4 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -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;