mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
...
This commit is contained in:
parent
895b3a8d1d
commit
6bd2f59c8f
@ -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
|
Loading…
x
Reference in New Issue
Block a user