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.
3 files changed