Skip to content

Commit 16ec4fb

Browse files
committed
Better wording for the NEWS
1 parent aa84617 commit 16ec4fb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Misc/NEWS.d/next/Core_and_Builtins/2026-06-28-14-39-05.gh-issue-152405.-_3YRo.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ Fixes a crash, when modifing :class:`types.MappingProxyType` exposed via a
22
rich-compare operation with :func:`vars` function. It was possible to mutate
33
the internals of builtins types via this technique.
44

5-
It changes the object that is passed to rich-compare methods
6-
from the real internal mapping type to be always :class:`dict`.
5+
It changes the object that is passed to custom rich-compare methods
6+
from the original internal mapping type to be always a new :class:`dict` copy
7+
with all the keys and values from the original mapping.

0 commit comments

Comments
 (0)