![](https://secure.gravatar.com/avatar/047f2332cde3730f1ed661eebb0c5686.jpg?s=120&d=mm&r=g)
8 Jan
2020
8 Jan
'20
2:08 p.m.
On Wed, Jan 8, 2020 at 12:02 PM Ethan Furman <ethan@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/>