From 6bd2f59c8f36e3e27ccca88e29d0c2b759c5dee7 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 29 Sep 2023 12:29:52 +0800 Subject: [PATCH] ... --- include/pocketpy/bindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/bindings.h b/include/pocketpy/bindings.h index f4d3bbc8..6740bd9d 100644 --- a/include/pocketpy/bindings.h +++ b/include/pocketpy/bindings.h @@ -142,7 +142,7 @@ void _bind(VM* vm, PyObject* obj, const char* sig, Ret(T::*func)(Params...)){ wT& self = _CAST(wT&, _0); \ if(!vm->isinstance(_1, wT::_type(vm))) return vm->NotImplemented; \ wT& other = _CAST(wT&, _1); \ - return VAR(*self._() == *other._()); \ + return VAR(self == other); \ }); \ } // namespace pkpy \ No newline at end of file