We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511733c commit 592e328Copy full SHA for 592e328
Python/optimizer.c
@@ -777,7 +777,7 @@ translate_bytecode_to_trace(
777
uint32_t next_inst = target + 1 + INLINE_CACHE_ENTRIES_FOR_ITER + (oparg > 255);
778
uint32_t jump_target = next_inst + oparg;
779
assert(_Py_GetBaseCodeUnit(code, jump_target).op.code == END_FOR);
780
- assert(_Py_GetBaseCodeUnit(code, jump_target+1).op.code == POP_TOP);
+ assert(_Py_GetBaseCodeUnit(code, jump_target+1).op.code == POP_ITER);
781
}
782
#endif
783
break;
0 commit comments