| commit | 30a43586f0d1776d25beb71b92f9880be7997e1b | [log] [tgz] |
|---|---|---|
| author | Bar Harel <bar.harel@biocatch.com> | Wed May 11 00:23:45 2022 +0300 |
| committer | GitHub <noreply@github.com> | Tue May 10 14:23:45 2022 -0700 |
| tree | ee687cdb9f119fefe39f1eefa9941ad8af25e835 | |
| parent | f481a02e6c7c981d1316267bad5fb94fee912ad6 [diff] |
bpo-39264: Fix UserDict.get() to account for __missing__() (GH-17910) Here's the patch according to the discussion at the [Python-Dev mailing list](https://mail.python.org/archives/list/python-dev@python.org/thread/SDXOEMAEM6KQ3CQCJVBVRT5QNSPAVU6X/). UserDict.get() will match dict's behavior and not call `__missing__`. Automerge-Triggered-By: GH:rhettinger