aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-02-14 09:32:51 +0900
committerGitHub <noreply@github.com>2024-02-14 00:32:51 +0000
commitf15795c9a0f206b9abfb48007b267d12cd14f4a8 (patch)
tree1bd6b124e2ab983a921afb1c8ef02995ab39fb8b /Python/pylifecycle.c
parent518af37eb569f52a3daf2cf9f4787deed10754ca (diff)
downloadcpython-f15795c9a0f206b9abfb48007b267d12cd14f4a8.tar.gz
cpython-f15795c9a0f206b9abfb48007b267d12cd14f4a8.zip
gh-111968: Rename freelist related struct names to Eric's suggestion (gh-115329)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 7e4c07bb657..5e5db984811 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -1795,8 +1795,8 @@ finalize_interp_types(PyInterpreterState *interp)
#ifndef Py_GIL_DISABLED
// With Py_GIL_DISABLED:
// the freelists for the current thread state have already been cleared.
- _PyFreeListState *state = _PyFreeListState_GET();
- _PyObject_ClearFreeLists(state, 1);
+ struct _Py_object_freelists *freelists = _Py_object_freelists_GET();
+ _PyObject_ClearFreeLists(freelists, 1);
#endif
#ifdef Py_DEBUG