From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 20 Mar 2022 12:17:19 +0000 (-0700) Subject: bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005) X-Git-Tag: v3.10.4~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87b3e202d46cdeb0a6b1ef041579a5ebc7c826a9;p=thirdparty%2FPython%2Fcpython.git bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005) (cherry picked from commit 3af68fc77c528d4e7749046cf6e41fd79902e6e6) Co-authored-by: jmcb Co-authored-by: jmcb --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 55ac99c39275..3c32210a6ac7 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1466,7 +1466,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