]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46013: Fix confusing kerning on period in docs (GH-29989)
authorjmcb <joel.mcbride1@live.com>
Sun, 20 Mar 2022 09:58:13 +0000 (09:58 +0000)
committerGitHub <noreply@github.com>
Sun, 20 Mar 2022 09:58:13 +0000 (09:58 +0000)
Doc/reference/datamodel.rst

index 0bcb9dc94f58a3d19be911b781e13f5c2b195fc4..804332ffab6fd6879a545ef188295a4ac7e55b37 100644 (file)
@@ -1501,7 +1501,7 @@ Basic customization
 
    Called by built-in function :func:`hash` and for operations on members of
    hashed collections including :class:`set`, :class:`frozenset`, and
-   :class:`dict`.  :meth:`__hash__` should return an integer. The only required
+   :class:`dict`.  The ``__hash__()`` method should return an integer. The only required
    property is that objects which compare equal have the same hash value; it is
    advised to mix together the hash values of the components of the object that
    also play a part in comparison of objects by packing them into a tuple and