]> 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 05:50:34 +0000 (22:50 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 05:50:34 +0000 (22:50 -0700)
(cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608)

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

index afce6c9448952b21ea034187d5e77b716995d44d..41660157d4cf0002a1025e206a2ac1a73e5f1e36 100644 (file)
@@ -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;