Hello!

Do you know if there has been discussions around why is the default argument is 
positional only in the dict methods get and pop?

I think

```
d.get(key, default=3)
```

way more readable than 

```
d.get(key, 3)
```

specially since max and min builtin functions use default as a keyword argument.
_______________________________________________
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/IFM3QL67EWQCROPIX3DNCR44F4ULMFD3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to