Skip to content

Commit 168a9b9

Browse files
committed
Update NEWS
1 parent 6b8a7b0 commit 168a9b9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Previously descriptors that return themselves from calls to ``__get__`` were
2-
treated as default values in a dataclass. Now, a ``TypeError`` is raised if no
3-
initial value is provided to the dataclass constructor.
4-
1+
Previously, descriptors that return themselves from calls to :meth:`~object.__get__` were
2+
treated as default values in :mod:`dataclasses`. Now, a :exc:`TypeError` is raised if no
3+
initial value is provided to the :mod:`dataclass <dataclasses>` constructor.

0 commit comments

Comments
 (0)