On Fri, Dec 13, 2019 at 07:41:59AM -0400, Juancarlo Añez wrote:
> It was my omission in the OP that *default=* should be explicit, instead of > an implicit *None.* The consistent semantics are those of *dict.get()* and > *dict.pop()*. py> {1:'a'}.get(999) is None True -- Steven _______________________________________________ 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/CPTMCTIJTJKMVJGVONCRL4FT7PVDET5X/ Code of Conduct: http://python.org/psf/codeofconduct/