You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 commentedon 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 commentedon Jul 3, 2026
The current documentation of
d[key]explicitly states "No other operations or methods invoke__missing__". Closing as resolved.