commit | 6a150bcaeb190d1731b38ab9c7a5d1a352847ddc | [log] [tgz] |
---|---|---|
author | Eric Snow <ericsnowcurrently@gmail.com> | Sat Jun 01 15:39:46 2019 -0600 |
committer | GitHub <noreply@github.com> | Sat Jun 01 15:39:46 2019 -0600 |
tree | 687d690cdcb19d4f30806b628dcdee37a4d61a13 | |
parent | 218e47b61862470477922e9aba1a23fd3dab18ae [diff] [blame] |
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index b42f41c..bf20e81 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c
@@ -2677,6 +2677,7 @@ Py_INCREF(callable); Py_BEGIN_ALLOW_THREADS + /* XXX Use the internal _Py_AddPendingCall(). */ r = Py_AddPendingCall(&_pending_callback, callable); Py_END_ALLOW_THREADS