On Wed, Jan 8, 2020 at 12:02 PM Ethan Furman <et...@stoneleaf.us> wrote:
> I disagree. My understanding of the purpose behind get() is to get a value > or return the default specified in the get() call, not to create a new key > (which the default __missing__ does). > Right. For comparison, defaultdict.get() doesn't add the key either. -- --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-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/I6RDOQDF7JN5ATIQNPVI4MRHBRHV2M4L/ Code of Conduct: http://python.org/psf/codeofconduct/