[Python-checkins] Don't export pending_threadfunc from _testcapi. (GH-8075)

Miss Islington (bot) webhook-mailer at python.org
Wed Jul 4 01:50:37 EDT 2018


https://github.com/python/cpython/commit/123f2b4540e514e96c1aa35bbf3f543ef57dfd27
commit: 123f2b4540e514e96c1aa35bbf3f543ef57dfd27
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-03T22:50:34-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 afce6c944895..41660157d4cf 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