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@python components: Documentation messages: 300961 nosy: Antony.Lee, docs@python priority: normal severity: normal status: open title: typo in __hash__ docs versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31295> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com