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.
1 parent b3f2d4c commit 3af68fcCopy full SHA for 3af68fc
Doc/reference/datamodel.rst
@@ -1501,7 +1501,7 @@ Basic customization
1501
1502
Called by built-in function :func:`hash` and for operations on members of
1503
hashed collections including :class:`set`, :class:`frozenset`, and
1504
- :class:`dict`. :meth:`__hash__` should return an integer. The only required
+ :class:`dict`. The ``__hash__()`` method should return an integer. The only required
1505
property is that objects which compare equal have the same hash value; it is
1506
advised to mix together the hash values of the components of the object that
1507
also play a part in comparison of objects by packing them into a tuple and
0 commit comments