mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
bpo-41810: Reintroduce types.EllipsisType
, .NoneType
& .NotImplementedType
(GH-22336)
closes issue 41810
This commit is contained in:
parent
a68a2ad19c
commit
0d0e9fe2ff
7 changed files with 54 additions and 5 deletions
|
@ -296,5 +296,8 @@ def coroutine(func):
|
|||
GenericAlias = type(list[int])
|
||||
Union = type(int | str)
|
||||
|
||||
EllipsisType = type(Ellipsis)
|
||||
NoneType = type(None)
|
||||
NotImplementedType = type(NotImplemented)
|
||||
|
||||
__all__ = [n for n in globals() if n[:1] != '_']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue