summaryrefslogtreecommitdiffstats
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-03-09 15:16:30 (GMT)
committerGitHub <noreply@github.com>2023-03-09 15:16:30 (GMT)
commitb45d14b88611fefc6f054226d3e1117082d322c8 (patch)
treebe3ce59bf02c0b746bbddd6fb403f6ff8562b672 /Python/generated_cases.c.h
parent58d761e5b5f253892a697941c71bac0159a1d74e (diff)
downloadcpython-b45d14b88611fefc6f054226d3e1117082d322c8.zip
cpython-b45d14b88611fefc6f054226d3e1117082d322c8.tar.gz
cpython-b45d14b88611fefc6f054226d3e1117082d322c8.tar.bz2
gh-100227: Move dict_state.global_version to PyInterpreterState (gh-102338)
https://github.com/python/cpython/issues/100227
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r--Python/generated_cases.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 82e1850..51357cd 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -2114,7 +2114,7 @@
DEOPT_IF(ep->me_key != name, STORE_ATTR);
old_value = ep->me_value;
DEOPT_IF(old_value == NULL, STORE_ATTR);
- new_version = _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, value);
+ new_version = _PyDict_NotifyEvent(tstate->interp, PyDict_EVENT_MODIFIED, dict, name, value);
ep->me_value = value;
}
else {
@@ -2122,7 +2122,7 @@
DEOPT_IF(ep->me_key != name, STORE_ATTR);
old_value = ep->me_value;
DEOPT_IF(old_value == NULL, STORE_ATTR);
- new_version = _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, value);
+ new_version = _PyDict_NotifyEvent(tstate->interp, PyDict_EVENT_MODIFIED, dict, name, value);
ep->me_value = value;
}
Py_DECREF(old_value);