Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue41810> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com