New submission from Chris Rebert <pyb...@rebertia.com>:

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.

----------
assignee: docs@python
components: Documentation
messages: 155427
nosy: cvrebert, docs@python
priority: normal
severity: normal
status: open
title: minor error in glossary wording regarding __hash__
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14257>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to