aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-08-17 11:16:03 +0100
committerGitHub <noreply@github.com>2023-08-17 11:16:03 +0100
commit006e44f9502308ec3d14424ad8bd774046f2be8e (patch)
tree91ab71678a0fb5f5ba410c371f28ded8a1c82d0d /Python/pylifecycle.c
parent33e6e3fec02ff3035dec52692542d3dd10124bef (diff)
downloadcpython-006e44f9502308ec3d14424ad8bd774046f2be8e.tar.gz
cpython-006e44f9502308ec3d14424ad8bd774046f2be8e.zip
GH-108035: Remove the `_PyCFrame` struct as it is no longer needed for performance. (GH-108036)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 0de3abf9407..90633960cb0 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -2147,7 +2147,7 @@ Py_EndInterpreter(PyThreadState *tstate)
if (tstate != _PyThreadState_GET()) {
Py_FatalError("thread is not current");
}
- if (tstate->cframe->current_frame != NULL) {
+ if (tstate->current_frame != NULL) {
Py_FatalError("thread still has a frame");
}
interp->finalizing = 1;