8000 Fix compile error in executor_cases.c.h · python/cpython@9e7691a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e7691a

Browse files
committed
Fix compile error in executor_cases.c.h
1 parent 24e9b4b commit 9e7691a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4807,7 +4807,7 @@ dummy_func(
48074807
#endif
48084808
_PyExecutorObject *executor;
48094809
if (target->op.code == ENTER_EXECUTOR) {
4810-
PyCodeObject *code = (PyCodeObject *)frame->f_executable;
4810+
PyCodeObject *code = _PyFrame_GetCode(frame);
48114811
executor = code->co_executors->executors[target->op.arg];
48124812
Py_INCREF(executor);
48134813
}

Python/executor_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0