Skip to content
Prev Previous commit
Next Next commit
Merge branch 'main' into trim-code-object-2
  • Loading branch information
markshannon committed Feb 21, 2023
commit a3e6ac67db331c8bac4eff472b926204af1a35f8
2 changes: 1 addition & 1 deletion Objects/genobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ _PyGen_yf(PyGenObject *gen)
/* Return immediately if the frame didn't start yet. SEND
always come after LOAD_CONST: a code object should not start
with SEND */
assert(_Py_OPCODE(_PyCode_CODE(_PyGen_GetCode(gen))[0]) != SEND);
assert(_PyCode_CODE(_PyGen_GetCode(gen))[0].op.code != SEND);
return NULL;
}
_Py_CODEUNIT next = frame->prev_instr[1];
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.