[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

Serhiy Storchaka report at bugs.python.org
Sat Sep 19 11:34:28 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Would not be better to make MyPy supporting type(Ellipsis)? It would work also on Python versions older than 3.10.

Also, could not Literal[Ellipsis] be used as annotation?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41810>
_______________________________________


More information about the Python-bugs-list mailing list