We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in(x, o::Py)
o.__contains__(x)
I just noticed that PyCall was missing an overload of in for PyObject, and I figured you might want the same for Py.
in
PyObject
Py
The text was updated successfully, but these errors were encountered:
There are a few other such methods that might be worth exposing as well: https://docs.python.org/3/library/operator.html
Sorry, something went wrong.
Already got it thanks! 🙂
https://github.com/cjdoris/PythonCall.jl/blob/ffdac16d3092a59ee83c5d0f69245d34a4c3e4dc/src/Py.jl#L337
I think all those operators which have an equivalent in Base are already there. Let me know if you spot any I've missed.
No branches or pull requests
I just noticed that PyCall was missing an overload of
in
forPyObject
, and I figured you might want the same forPy
.The text was updated successfully, but these errors were encountered: