On 04/04/2018 02:12 PM, Guido van Rossum wrote:

I don't think of "in" as an equality test -- it's special just like <, <=,
> >, >= are special, and those can certainly raise TypeError.

Good to know, thank you!

--
~Ethan~

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to