From: Siu Kwan Lam <1929845+sklam@users.noreply.github.com>
Origin: https://github.com/numba/numba/pull/8545
Date: Tue, 8 Nov 2022 11:36:38 -0600
Subject: Fix inplace op

---
 numba/core/interpreter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/numba/core/interpreter.py b/numba/core/interpreter.py
index 2e354d0..9b7cbc2 100644
--- a/numba/core/interpreter.py
+++ b/numba/core/interpreter.py
@@ -2665,7 +2665,7 @@ class Interpreter(object):
 
     def op_BINARY_OP(self, inst, op, lhs, rhs, res):
         if "=" in op:
-            self._inplace_binop(op[:1], lhs, rhs, res)
+            self._inplace_binop(op[:-1], lhs, rhs, res)
         else:
             self._binop(op, lhs, rhs, res)
 
