diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-07-03 22:30:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 22:30:56 -0700 |
commit | b4588c2fffbda91e4c2f0cf2b0fc3d14def95608 (patch) | |
tree | cdad0b0f4a176da807625f16ca630fa013f5f828 /Modules/_testcapimodule.c | |
parent | 3c452404ae178b742967589a0bb4a5ec768d76e0 (diff) | |
download | cpython-git-b4588c2fffbda91e4c2f0cf2b0fc3d14def95608.tar.gz |
Don't export pending_threadfunc from _testcapi. (GH-8075)
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 3086aab406..41d059b2e4 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; |