-
- Downloads
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
Showing
- Lib/collections/__init__.py 8 additions, 1 deletionLib/collections/__init__.py
- Lib/test/test_collections.py 8 additions, 0 deletionsLib/test/test_collections.py
- Misc/NEWS.d/next/Library/2020-01-09-01-57-12.bpo-39264.GsBL9-.rst 3 additions, 0 deletions...S.d/next/Library/2020-01-09-01-57-12.bpo-39264.GsBL9-.rst
Loading
Please register or sign in to comment