R. David Murray added the comment:
No, it is correct as worded. It is talking about the default methods. With
the default methods, x == y implies that x is y.
--
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
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