summaryrefslogtreecommitdiffstats
path: root/Modules/_testinternalcapi.c
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2024-02-26 17:51:47 (GMT)
committerGitHub <noreply@github.com>2024-02-26 17:51:47 (GMT)
commitb05afdd5ec325bdb4cc89bb3be177ed577bea41f (patch)
treeecdb6276a76f5af92e3c3a9d249a5eb8361c9499 /Modules/_testinternalcapi.c
parent96c10c648565c7406d5606099dbbb937310c26dc (diff)
downloadcpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.zip
cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.gz
cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.bz2
gh-115168: Add pystats counter for invalidated executors (GH-115169)
Diffstat (limited to 'Modules/_testinternalcapi.c')
-rw-r--r--Modules/_testinternalcapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c
index 0d23b18..5b714ca 100644
--- a/Modules/_testinternalcapi.c
+++ b/Modules/_testinternalcapi.c
@@ -1035,7 +1035,7 @@ static PyObject *
invalidate_executors(PyObject *self, PyObject *obj)
{
PyInterpreterState *interp = PyInterpreterState_Get();
- _Py_Executors_InvalidateDependency(interp, obj);
+ _Py_Executors_InvalidateDependency(interp, obj, 1);
Py_RETURN_NONE;
}