gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700)
This commit is contained in:
@@ -362,6 +362,7 @@ const binaryfunc _PyEval_BinaryOps[] = {
|
||||
[NB_INPLACE_SUBTRACT] = PyNumber_InPlaceSubtract,
|
||||
[NB_INPLACE_TRUE_DIVIDE] = PyNumber_InPlaceTrueDivide,
|
||||
[NB_INPLACE_XOR] = PyNumber_InPlaceXor,
|
||||
[NB_SUBSCR] = PyObject_GetItem,
|
||||
};
|
||||
|
||||
const conversion_func _PyEval_ConversionFuncs[4] = {
|
||||
|
||||
Reference in New Issue
Block a user