]> granicus.if.org Git - python/commit
bpo-32873: Remove a name hack for generic aliases in typing module (GH-6376)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Apr 2018 00:46:40 +0000 (17:46 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Apr 2018 00:46:40 +0000 (17:46 -0700)
commit04eac02088f60192c7e54c7364bcaa892d7c05cf
tree2a07b67251f82770618bd6fda90daa4a19075601
parentbd85c9738296cf4a53859ed17e9a6812d2071a21
bpo-32873: Remove a name hack for generic aliases in typing module (GH-6376)

This removes a hack and replaces it with a proper
mapping {'list': 'List', 'dict': 'Dict', ...}.
(cherry picked from commit 2a363d2930e29ec6d8a774973ed5a4965f881f5f)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Lib/test/test_typing.py
Lib/typing.py