]> granicus.if.org Git - python/commitdiff
Don't export pending_threadfunc from _testcapi. (GH-8075)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Jul 2018 06:00:13 +0000 (23:00 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 06:00:13 +0000 (23:00 -0700)
(cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Modules/_testcapimodule.c

index c2c63e94db3edb9e9b868d99c6034983327a9600..556d49bb3c83998406806b513518300822ee1307 100644 (file)
@@ -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;