Skip to content

Commit 213db85

Browse files
committed
Simplify the sentinel versionchanged notes
1 parent fbf26cd commit 213db85

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Doc/library/dataclasses.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,7 @@ Module contents
531531
A :class:`sentinel` object signifying a missing default or default_factory.
532532

533533
.. versionchanged:: 3.15
534-
:const:`!MISSING` is now a :class:`sentinel` object. In earlier versions
535-
it was an instance of a private class.
534+
:const:`!MISSING` is now a :class:`sentinel` object.
536535

537536
.. data:: KW_ONLY
538537

@@ -562,8 +561,7 @@ Module contents
562561
.. versionadded:: 3.10
563562

564563
.. versionchanged:: 3.15
565-
:const:`!KW_ONLY` is now a :class:`sentinel` object. In earlier versions
566-
it was an instance of a private class.
564+
:const:`!KW_ONLY` is now a :class:`sentinel` object.
567565

568566
.. exception:: FrozenInstanceError
569567

0 commit comments

Comments
 (0)