mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
7d6a590e39
commit
e1d52653bf
@ -247,6 +247,7 @@ bool py_delitem(py_Ref self, py_Ref key) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int py_equal(py_Ref lhs, py_Ref rhs) {
|
int py_equal(py_Ref lhs, py_Ref rhs) {
|
||||||
|
if(py_isidentical(lhs, rhs)) return 1;
|
||||||
if(!py_eq(lhs, rhs)) return -1;
|
if(!py_eq(lhs, rhs)) return -1;
|
||||||
return py_bool(py_retval());
|
return py_bool(py_retval());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user