Thanks to visit codestin.com Credit goes to github.com
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 148827c + edb9111 commit 85d5d90Copy full SHA for 85d5d90
1 file changed
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