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 73f4b47 commit 504973aCopy full SHA for 504973a
Doc/reference/datamodel.rst
@@ -1435,7 +1435,7 @@ Basic customization
1435
1436
Called by built-in function :func:`hash` and for operations on members of
1437
hashed collections including :class:`set`, :class:`frozenset`, and
1438
- :class:`dict`. :meth:`__hash__` should return an integer. The only required
+ :class:`dict`. The ``__hash__()`` method should return an integer. The only required
1439
property is that objects which compare equal have the same hash value; it is
1440
advised to mix together the hash values of the components of the object that
1441
also play a part in comparison of objects by packing them into a tuple and
0 commit comments