]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42345: Fix hash implementation of typing.Literal (GH-23383)
authorYurii Karabas <1998uriyyo@gmail.com>
Thu, 19 Nov 2020 16:17:38 +0000 (18:17 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Nov 2020 16:17:38 +0000 (08:17 -0800)
commit1b54077ff6f5c1379e097e9f8e8648da9826d6ec
treec8de68da519cd471ef2ea002b8a1f51fa97a8203
parentb437aa83f9374b86b7756705e8dc83b72a99e037
bpo-42345: Fix hash implementation of typing.Literal (GH-23383)

Fix hash implementation of `typing.Literal`.

Update docs regarding `typing.Litaral` caching.

Base implementation was done in PR #23294.
Doc/library/typing.rst
Lib/test/test_typing.py
Lib/typing.py