Skip to content

Commit 123f2b4

Browse files
Don't export pending_threadfunc from _testcapi. (GH-8075)
(cherry picked from commit b4588c2) Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 parent 20ae4c6 commit 123f2b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/_testcapimodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2429,7 +2429,8 @@ static int _pending_callback(void *arg)
24292429
/* The following requests n callbacks to _pending_callback. It can be
24302430
* run from any python thread.
24312431
*/
2432-
PyObject *pending_threadfunc(PyObject *self, PyObject *arg)
2432+
static PyObject *
2433+
pending_threadfunc(PyObject *self, PyObject *arg)
24332434
{
24342435
PyObject *callable;
24352436
int r;

0 commit comments

Comments
 (0)