summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2019-06-01 21:39:46 (GMT)
committerGitHub <noreply@github.com>2019-06-01 21:39:46 (GMT)
commit6a150bcaeb190d1731b38ab9c7a5d1a352847ddc (patch)
tree687d690cdcb19d4f30806b628dcdee37a4d61a13 /Lib/test/test_capi.py
parent218e47b61862470477922e9aba1a23fd3dab18ae (diff)
downloadcpython-6a150bcaeb190d1731b38ab9c7a5d1a352847ddc.zip
cpython-6a150bcaeb190d1731b38ab9c7a5d1a352847ddc.tar.gz
cpython-6a150bcaeb190d1731b38ab9c7a5d1a352847ddc.tar.bz2
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r--Lib/test/test_capi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 4dd78bb..fabc821 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -431,7 +431,7 @@ class TestPendingCalls(unittest.TestCase):
def test_pendingcalls_threaded(self):
#do every callback on a separate thread
- n = 32 #total callbacks
+ n = 32 #total callbacks (see NPENDINGCALLS in pycore_ceval.h)
threads = []
class foo(object):pass
context = foo()