mojo icon indicating copy to clipboard operation
mojo copied to clipboard

[Stdlib] Add `PythonObject.__contains__`

Open rd4com opened this issue 8 months ago • 2 comments

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.

rd4com avatar Jun 22 '24 04:06 rd4com