mojo
mojo copied to clipboard
[Stdlib] Add `PythonObject.__contains__`
Simple and small implementation,
Improving the 🐍 Python
experience !
Example usage:
x = PythonObject([1,2,3])
if 1 in x:
print("1 in x")
That method should be replaced by a c-python
function if possible.