diff --git a/src/public/py_ops.c b/src/public/py_ops.c index 30b2bfa0..54eb812a 100644 --- a/src/public/py_ops.c +++ b/src/public/py_ops.c @@ -247,6 +247,7 @@ bool py_delitem(py_Ref self, py_Ref key) { } int py_equal(py_Ref lhs, py_Ref rhs) { + if(py_isidentical(lhs, rhs)) return 1; if(!py_eq(lhs, rhs)) return -1; return py_bool(py_retval()); }