[Python-checkins] Don't export pending_threadfunc from _testcapi. (GH-8075)
Benjamin Peterson
webhook-mailer at python.org
Wed Jul 4 01:30:59 EDT 2018
https://github.com/python/cpython/commit/b4588c2fffbda91e4c2f0cf2b0fc3d14def95608
commit: b4588c2fffbda91e4c2f0cf2b0fc3d14def95608
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2018-07-03T22:30:56-07:00
summary:
Don't export pending_threadfunc from _testcapi. (GH-8075)
files:
M Modules/_testcapimodule.c
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 3086aab4063d..41d059b2e48a 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;
More information about the Python-checkins
mailing list