[New-bugs-announce] [issue46013] Confusing period in object.__hash__ doc

JMcB report at bugs.python.org
Wed Dec 8 07:37:28 EST 2021


New submission from JMcB <joel.mcbride1 at live.com>:

At https://docs.python.org/3/reference/datamodel.html#object.__hash__
It says:
Called by built-in function hash() and for operations on members of hashed collections including set, frozenset, and dict. __hash__() should return an integer.

How it's rendered there, the kerning made it confusing to me on a first read because dict. [new sentence]__hash__() looked like dict.__hash__().

I think a line break should be added, which I'll open a pr to do.

----------
assignee: docs at python
components: Documentation
messages: 408014
nosy: JMcB17, docs at python
priority: normal
severity: normal
status: open
title: Confusing period in object.__hash__ doc
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46013>
_______________________________________


More information about the New-bugs-announce mailing list