This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: minor error in glossary wording regarding __hash__
Type: Stage: resolved
Components: Documentation Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: cvrebert, docs@python, python-dev
Priority: normal Keywords:

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 issue14257 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 issue14257 - 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 issue14257 - 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 issue14257 - Grammatical fix
http://hg.python.org/cpython/rev/0f146020d8e9

New changeset c5833f277258 by Senthil Kumaran in branch 'default':
closes issue14257 - Grammatical fix
http://hg.python.org/cpython/rev/c5833f277258

New changeset f3c8bdbe2cf3 by Senthil Kumaran in branch '2.7':
closes issue14257 - Grammatical fix
http://hg.python.org/cpython/rev/f3c8bdbe2cf3
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58465
2012-03-13 07:17:23python-devsetstatus: open -> closed
resolution: fixed
messages: + msg155575
2012-03-12 09:16:30cvrebertsetstatus: closed -> open
resolution: fixed -> (no value)
messages: + msg155445
2012-03-12 04:06:15python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg155439

resolution: fixed
stage: resolved
2012-03-12 01:27:05cvrebertcreate