Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4588c2

Browse files
authored
Don't export pending_threadfunc from _testcapi. (GH-8075)
1 parent 3c45240 commit b4588c2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)