New submission from John Riehl <john.ri...@outlook.com>:

The entry in the glossary for "hashable" 
(https://docs.python.org/3/glossary.html#term-hashable) states "All of Python’s 
immutable built-in objects are hashable." Tuples are described as immutable 
sequence types 
(https://docs.python.org/3/library/stdtypes.html#immutable-sequence-types), but 
they are not hashable unless all of their elements are hashable. Suggest 
updating the glossary to reflect this.

----------
assignee: docs@python
components: Documentation
messages: 343514
nosy: docs@python, john.riehl
priority: normal
severity: normal
status: open
title: Glossary item "hashable" incorrect
type: behavior
versions: Python 3.7

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

Reply via email to