Re: [Python-Dev] Enum, Flag, __contains__, and False vs TypeError

2018年4月04日 14:36:25 -0700

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
[email protected]
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