On Sun, Mar 22, 2020 at 6:51 PM Steven D'Aprano <st...@pearwood.info> wrote:
> We might have a terminology issue here, since according to Wikipedia > there is some dispute over whether or not to include the equality case > in subset/superset: > > https://en.wikipedia.org/wiki/Subset > > For what it is worth, I'm in the school that subset implies proper subset > [...] > Wikipedia's pedantry notwithstanding, I don't think this is a useful position *when talking about Python sets*, since Python's set's .issubset() method returns True when the argument is the same set: >>> {1}.issubset({1}) True Or did I miss a wink? -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/OC34LIELRLP4IOY6F5VDTIZZMFMGB2LG/ Code of Conduct: http://python.org/psf/codeofconduct/