Skip to content

Commit 7db4216

Browse files
committed
Change wording
1 parent cb8d471 commit 7db4216

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Fixes a crash, when modifing :class:`types.MappingProxyType` exposed via a
2-
rich-compare operation with :func:`vars` function. It was possible to mutate
3-
the internals of builtins types via this technique.
4-
5-
Now we pass not the original :class:`dict` instance, but its copy.
1+
Do not expose the internal mapping of :class:`types.MappingProxyType`
2+
when performing rich-compare operations with non-stdlib types.
3+
Previously, it was possible to mutate the internal mapping of a proxy there.
4+
Now we pass not the original :class:`dict` instance, but its copy,
5+
when dealing with custom types.

0 commit comments

Comments
 (0)