https://github.com/python/cpython/commit/de6a2dec9c2b1280d70a29396d4e141bd1614655 commit: de6a2dec9c2b1280d70a29396d4e141bd1614655 branch: 3.6 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2018年07月03日T23:00:13-07:00 summary: Don't export pending_threadfunc from _testcapi. (GH-8075) (cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608) Co-authored-by: Benjamin Peterson <benjamin at python.org> files: M Modules/_testcapimodule.c diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index c2c63e94db3e..556d49bb3c83 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -2324,7 +2324,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;