From 0f8a55b151f2bb96ff553829a6486402859c7801 Mon Sep 17 00:00:00 2001 From: Matt Page Date: Sun, 13 Oct 2024 22:03:33 -0700 Subject: [PATCH] Clarify comment --- Include/internal/pycore_frame.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Include/internal/pycore_frame.h b/Include/internal/pycore_frame.h index 8a0f7ea387d7d5..e9f608c39cc21f 100644 --- a/Include/internal/pycore_frame.h +++ b/Include/internal/pycore_frame.h @@ -167,8 +167,9 @@ _PyFrame_InitializeTLBC(PyThreadState *tstate, _PyInterpreterFrame *frame, { _Py_CODEUNIT *tlbc = _PyCode_GetTLBCFast(tstate, code); if (tlbc == NULL) { - // No thread-local bytecode exists for this thread yet, use the main - // thread's copy. It will be created on the first RESUME. + // No thread-local bytecode exists for this thread yet; use the main + // thread's copy, deferring thread-local bytecode creation to the + // execution of RESUME. frame->instr_ptr = _PyCode_CODE(code); frame->tlbc_index = 0; }