summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapimodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-03 16:14:24 (GMT)
committerGitHub <noreply@github.com>2019-06-03 16:14:24 (GMT)
commite225bebc1409bcf68db74a35ed3c31222883bf8f (patch)
tree42153d2d48a3f1c784812b4fb54ed3557be713d0 /Modules/_testcapimodule.c
parent49a7e347976c9b39149ac7505b11ad6e9e2bdeec (diff)
downloadcpython-e225bebc1409bcf68db74a35ed3c31222883bf8f.zip
cpython-e225bebc1409bcf68db74a35ed3c31222883bf8f.tar.gz
cpython-e225bebc1409bcf68db74a35ed3c31222883bf8f.tar.bz2
Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)" (GH-13780)
This reverts commit 6a150bcaeb190d1731b38ab9c7a5d1a352847ddc.
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r--Modules/_testcapimodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 40e0826..f059b4d 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -2677,7 +2677,6 @@ pending_threadfunc(PyObject *self, PyObject *arg)
Py_INCREF(callable);
Py_BEGIN_ALLOW_THREADS
- /* XXX Use the internal _Py_AddPendingCall(). */
r = Py_AddPendingCall(&_pending_callback, callable);
Py_END_ALLOW_THREADS