diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-07-04 05:30:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-04 05:30:56 (GMT) |
commit | b4588c2fffbda91e4c2f0cf2b0fc3d14def95608 (patch) | |
tree | cdad0b0f4a176da807625f16ca630fa013f5f828 /Modules | |
parent | 3c452404ae178b742967589a0bb4a5ec768d76e0 (diff) | |
download | cpython-b4588c2fffbda91e4c2f0cf2b0fc3d14def95608.zip cpython-b4588c2fffbda91e4c2f0cf2b0fc3d14def95608.tar.gz cpython-b4588c2fffbda91e4c2f0cf2b0fc3d14def95608.tar.bz2 |
Don't export pending_threadfunc from _testcapi. (GH-8075)
Diffstat (limited to 'Modules')
-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 3086aab..41d059b 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; |