Skip to content

Commit 3701498

Browse files
author
Bas van Beek
committed
Provide motivation for the type reintroduction
Addresses #22336 (comment)
1 parent f682623 commit 3701498

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ types
149149
-----
150150

151151
Reintroduced the :data:`types.EllipsisType`, :data:`types.NoneType`
152-
and :data:`types.NotImplementedType` classes.
152+
and :data:`types.NotImplementedType` classes, aforementioned types
153+
now being useable as annotations.
153154
(Contributed by Bas van Beek in :issue:`41810`.)
154155

155156
unittest
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:data:`types.EllipsisType`, :data:`types.EllipsisType` and
2-
:data:`types.NoneType` have been reintroduced.
31
:data:`types.EllipsisType`, :data:`types.NotImplementedType` and
2+
:data:`types.NoneType` have been reintroduced, aforementioned types
3+
now being useable as annotations.

0 commit comments

Comments
 (0)