]> granicus.if.org Git - python/commit
bpo-37046: PEP 586: Add Literal to typing module (#13572)
authorIvan Levkivskyi <levkivskyi@gmail.com>
Sun, 26 May 2019 08:37:48 +0000 (09:37 +0100)
committerGitHub <noreply@github.com>
Sun, 26 May 2019 08:37:48 +0000 (09:37 +0100)
commitb891c465bb7d38a597c5c2ad547d7b19194f4dad
tree1b250227315edde01664d700c509baa3a9661ca9
parentf367242d10ef36db38133a39ab7627f63099cba4
bpo-37046: PEP 586: Add Literal to typing module (#13572)

The implementation is straightforward and essentially is just copied from `typing_extensions`.
Doc/library/typing.rst
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2019-05-25-19-12-53.bpo-37046.iuhQQj.rst [new file with mode: 0644]