]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:48:45 +0000 (22:48 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 05:48:45 +0000 (22:48 -0700)
(cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608)

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

index 5902de078230de071656f824b78ae77e561cee5b..d87acc171c9405010783c27859153794b2853ab6 100644 (file)
@@ -1963,7 +1963,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;