Might make more sense to be dict.default(int), that way it doesn't have 
redundant dict names. Only problem is then it might be a bit confusing, since 
you could do {1:2, 3:4}.default(int) and not get the values back. Maybe 
'withdefault', and return a copy if called on the instance?
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to