Skip to content

Commit

Permalink
Remove failing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Mar 3, 2024
1 parent b2ef295 commit 6c9ed1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/optimizer_analysis.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ inline_calls(_PyUOpInstruction *buffer, int buffer_size, int curr_stacklen)
switch (buffer[i].opcode) {
case _LOAD_FAST:
buffer[i].opcode = _COPY;
assert(nargs - buffer[i].oparg > 0);
buffer[i].oparg = nargs - buffer[i].oparg;
break;
case _RESUME_CHECK:
Expand Down

0 comments on commit 6c9ed1f

Please sign in to comment.