diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-07-03 22:48:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 22:48:45 -0700 |
commit | bfee59018f334dbbae38269edfe9d3adea341238 (patch) | |
tree | b581e9cf8516866cbbd2419ea1a1edd0c78b6202 /Modules | |
parent | 292ce153fcc2d991164d19ad3f3deb86157898d5 (diff) | |
download | cpython-git-bfee59018f334dbbae38269edfe9d3adea341238.tar.gz |
Don't export pending_threadfunc from _testcapi. (GH-8075)
(cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 5902de0782..d87acc171c 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -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; |