[issue31295] typo in __hash__ docs

2017-08-28 Thread R. David Murray
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

[issue31295] typo in __hash__ docs

2017-08-28 Thread Antony Lee
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