Issue 14257: minor error in glossary wording regarding hash (original) (raw)

Issue14257

Created on 2012-03-12 01:27 by cvrebert, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg155427 - (view) Author: Chris Rebert (cvrebert) * Date: 2012-03-12 01:27
The entry for "dictionary" reads in part: [...] The keys can be any object with __hash__() function and __eq__() methods. [...] __hash__() is a method, not a function (well, it's a "hash function" in the computer science sense, but it's still confusing even if that reading is what was intended; I think delegating the hashing part of the explanation to __hash__()'s docs is fine). Remove the word "function" from said sentence.
msg155439 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-12 04:06
New changeset f0a5f39615c8 by Senthil Kumaran in branch '2.7': closes minor error in glossary wording regarding __hash__ http://hg.python.org/cpython/rev/f0a5f39615c8 New changeset 3f15c069454d by Senthil Kumaran in branch '3.2': closes - 3.2 minor error in glossary wording regarding __hash__ http://hg.python.org/cpython/rev/3f15c069454d New changeset 2b7c39db2150 by Senthil Kumaran in branch 'default': closes - cpython - minor error in glossary wording regarding __hash__ http://hg.python.org/cpython/rev/2b7c39db2150
msg155445 - (view) Author: Chris Rebert (cvrebert) * Date: 2012-03-12 09:16
I regret to inform you that those changes made the sentence in question ungrammatical. Removing the word "method" will make it grammatical again (as originally suggested).
msg155575 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-13 07:17
New changeset 0f146020d8e9 by Senthil Kumaran in branch '3.2': closes - Grammatical fix http://hg.python.org/cpython/rev/0f146020d8e9 New changeset c5833f277258 by Senthil Kumaran in branch 'default': closes - Grammatical fix http://hg.python.org/cpython/rev/c5833f277258 New changeset f3c8bdbe2cf3 by Senthil Kumaran in branch '2.7': closes - Grammatical fix http://hg.python.org/cpython/rev/f3c8bdbe2cf3
History
Date User Action Args
2022-04-11 14:57:27 admin set github: 58465
2012-03-13 07:17:23 python-dev set status: open -> closedresolution: fixedmessages: +
2012-03-12 09:16:30 cvrebert set status: closed -> openresolution: fixed -> (no value)messages: +
2012-03-12 04:06:15 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2012-03-12 01:27:05 cvrebert create