[docs] [issue31295] typo in __hash__ docs

Antony Lee report at bugs.python.org
Mon Aug 28 15:42:50 EDT 2017


New submission from Antony Lee:

In https://docs.python.org/3.7/reference/datamodel.html#object.__hash__ I think

x.__hash__() returns an appropriate value such that x == y implies both that x is y and hash(x) == hash(y).

should be

x.__hash__() returns an appropriate value such that x == y and x is y both imply that hash(x) == hash(y).

right?

----------
assignee: docs at python
components: Documentation
messages: 300961
nosy: Antony.Lee, docs at python
priority: normal
severity: normal
status: open
title: typo in __hash__ docs
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31295>
_______________________________________


More information about the docs mailing list