On Thu, Oct 28, 2021 at 4:52 PM Jeremiah Vivian
<nohackingofkrow...@gmail.com> wrote:
>
> All containers do have a concept of iterators though, and the `is in` 
> operator can check using the iterator of the container.
>

But the "in" operator isn't built on iteration, so that would be in-consistent.

What you're asking for can best be spelled with any/all and iteration,
not a new operator.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/ATR4GZI65SZ54AGKZ4UGPZ7EDZJEZDXW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to