Dan Sommers <d...@tombstonezero.net> writes:
>     def __bool__(self):
>         return False if self == X.Falsey else True

return self != X.Falsey
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to