summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2021-05-04 08:54:12 (GMT)
committerGitHub <noreply@github.com>2021-05-04 08:54:12 (GMT)
commit87109f4d85c93a870ee8aa0d2b394547d4636b17 (patch)
tree9d91c78b622a0e8794b6d151e0e75721d26e8659 /Doc/library/typing.rst
parent5017cde20ed1d163a55d95b34ca452d83771a581 (diff)
downloadcpython-87109f4d85c93a870ee8aa0d2b394547d4636b17.zip
cpython-87109f4d85c93a870ee8aa0d2b394547d4636b17.tar.gz
cpython-87109f4d85c93a870ee8aa0d2b394547d4636b17.tar.bz2
bpo-44001: improve Literal documentation (GH-25877)
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r--Doc/library/typing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 8b1ce34..ba79bb7 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -799,10 +799,10 @@ These can be used as types in annotations using ``[]``, each having a unique syn
.. versionadded:: 3.8
.. versionchanged:: 3.9.1
- ``Literal`` now de-duplicates parameters. Equality comparison of
+ ``Literal`` now de-duplicates parameters. Equality comparisons of
``Literal`` objects are no longer order dependent. ``Literal`` objects
will now raise a :exc:`TypeError` exception during equality comparisons
- if one of their parameters are not :term:`immutable`.
+ if one of their parameters are not :term:`hashable`.
.. data:: ClassVar