Skip to content

Commit 1821f8f

Browse files
authored
gh-131281: fix compile error due to BINARY_SUBSCR (GH-131283)
* fix compile error due to `BINARY_SUBSCR` * replace stat_inc with `BINARY_OP`
1 parent 55815a6 commit 1821f8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Python/bytecodes.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ dummy_func(
878878
assert(res_o != NULL);
879879
res = PyStackRef_FromPyObjectNew(res_o);
880880
#endif
881-
STAT_INC(BINARY_SUBSCR, hit);
881+
STAT_INC(BINARY_OP, hit);
882882
DECREF_INPUTS();
883883
}
884884

Python/executor_cases.c.h

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)