Skip to content

Commit bff566a

Browse files
Reformat news entry
1 parent 9b33e89 commit bff566a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
When both *frozen* and *slots* are set to ``True`` in :func:`~dataclasses.dataclass`, added methods ``__setattr__`` and ``__delattr__`` were still referencing the original class, preventing it from being garbage collected and making one of the conditions inside these methods to be always ``False``.
1+
When both *frozen* and *slots* are set to ``True``
2+
in :func:`~dataclasses.dataclass`, added methods
3+
``__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``.

0 commit comments

Comments
 (0)