We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1eca237 + 85d5d90 commit 83356f7Copy full SHA for 83356f7
Doc/reference/datamodel.rst
@@ -1341,7 +1341,7 @@ Basic customization
1341
:meth:`__hash__` method of a class is ``None``, instances of the class will
1342
raise an appropriate :exc:`TypeError` when a program attempts to retrieve
1343
their hash value, and will also be correctly identified as unhashable when
1344
- checking ``isinstance(obj, collections.Hashable``).
+ checking ``isinstance(obj, collections.Hashable)``.
1345
1346
If a class that overrides :meth:`__eq__` needs to retain the implementation
1347
of :meth:`__hash__` from a parent class, the interpreter must be told this
0 commit comments