Rémi Lapeyre <[email protected]> added the comment:
This is documented in
https://docs.python.org/3.8/library/stdtypes.html#set-types-set-frozenset:
Instances of set are compared to instances of frozenset based on their members.
For example, set('abc') == frozenset('abc') returns True and so does set('abc')
in set([frozenset('abc')]).
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com