[Python-checkins] bpo-46013: Fix confusing kerning on period in docs (GH-29989)
iritkatriel
webhook-mailer at python.org
Sun Mar 20 05:58:17 EDT 2022
https://github.com/python/cpython/commit/3af68fc77c528d4e7749046cf6e41fd79902e6e6
commit: 3af68fc77c528d4e7749046cf6e41fd79902e6e6
branch: main
author: jmcb <joel.mcbride1 at live.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-03-20T09:58:13Z
summary:
bpo-46013: Fix confusing kerning on period in docs (GH-29989)
files:
M Doc/reference/datamodel.rst
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 0bcb9dc94f58a..804332ffab6fd 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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
More information about the Python-checkins
mailing list