On Thu, Oct 28, 2021 at 4:52 PM Jeremiah Vivian <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/ATR4GZI65SZ54AGKZ4UGPZ7EDZJEZDXW/ Code of Conduct: http://python.org/psf/codeofconduct/
