Continuing bpo-39264, and according to the mailing list discussion at Python-Dev.
Fixing dict's __missing__ documentation. Clarify .get() does not call __missing__, and move __missing__ from the data model to dict's section as it's not a general object or ABC method but a dict-only implementation.
Activity
bharel commented on Jan 9, 2020
Continuing bpo-39264, and according to the mailing list discussion at Python-Dev.
Fixing dict's __missing__ documentation. Clarify .get() does not call __missing__, and move __missing__ from the data model to dict's section as it's not a general object or ABC method but a dict-only implementation.
serhiy-storchaka commented on Jul 3, 2026
The current documentation of d[key] explicitly states "No other operations or methods invoke __missing__". Closing as resolved.