[issue38250] enum.Flag should be more set-like

Vedran Čačić report at bugs.python.org
Sun Oct 11 11:32:33 EDT 2020


Vedran Čačić <vedgar at gmail.com> added the comment:

Just a comment, (1) is analogous to str. iter('abc') gives only 'a', 'b' and 'c', while contains accepts '', 'ab', 'bc', and 'abc' too. At least in my mind, it's a pretty strong analogy.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38250>
_______________________________________


More information about the Python-bugs-list mailing list