summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorXuanteng Huang <44627253+xuantengh@users.noreply.github.com>2025-03-15 15:38:46 (GMT)
committerGitHub <noreply@github.com>2025-03-15 15:38:46 (GMT)
commit1821f8f10c7a4a43a4fb55fe4e3da4cadfec699d (patch)
treee04436d2991dfc1624c63aa39e7f721e7415cb40 /Python/bytecodes.c
parent55815a6474c59001f0230e44560341b643268e87 (diff)
downloadcpython-1821f8f10c7a4a43a4fb55fe4e3da4cadfec699d.zip
cpython-1821f8f10c7a4a43a4fb55fe4e3da4cadfec699d.tar.gz
cpython-1821f8f10c7a4a43a4fb55fe4e3da4cadfec699d.tar.bz2
gh-131281: fix compile error due to `BINARY_SUBSCR` (GH-131283)
* fix compile error due to `BINARY_SUBSCR` * replace stat_inc with `BINARY_OP`
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index aaa2516..7af4d64 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -878,7 +878,7 @@ dummy_func(
assert(res_o != NULL);
res = PyStackRef_FromPyObjectNew(res_o);
#endif
- STAT_INC(BINARY_SUBSCR, hit);
+ STAT_INC(BINARY_OP, hit);
DECREF_INPUTS();
}