Skip to content

Commit bb82978

Browse files
Rephrase news entry
1 parent 1c8f7b9 commit bb82978

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
When both *frozen* and *slots* are set to ``True``
22
in :func:`~dataclasses.dataclass`, added methods
33
``__setattr__`` and ``__delattr__`` were still referencing the original class,
4-
preventing it from being garbage collected and making one of the conditions
5-
inside these methods to be always ``False``.
4+
preventing it from being garbage collected and causing unexpected exceptions.

0 commit comments

Comments
 (0)