New submission from Ivan Levkivskyi <levkivs...@gmail.com>:
The actual implementation is performed by type checkers like mypy. We just need to add `Literal` to the `typing` module. ---------- assignee: levkivskyi components: Library (Lib) messages: 343503 nosy: gvanrossum, levkivskyi, michael0x2a priority: normal severity: normal stage: needs patch status: open title: Implement PEP 586: add Literal type constructor to typing type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37046> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com