Don't export pending_threadfunc from _testcapi. (GH-8075)
(cherry picked from commit b4588c2fff
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
This commit is contained in:
parent
20ae4c6025
commit
123f2b4540
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue