peps: 7278026a5db9 (original) (raw)

Mercurial > peps

changeset 4124:7278026a5db9

PEP 416: remove mentions of mutable/immutable

Victor Stinner victor.stinner@gmail.com
date Sat, 10 Mar 2012 11:43:45 +0100
parents 7dfbd4848412
children d168f7ada371
files pep-0416.txt
diffstat 1 files changed, 2 insertions(+), 3 deletions(-)[+] [-] pep-0416.txt 5

line wrap: on

line diff

--- a/pep-0416.txt +++ b/pep-0416.txt @@ -20,9 +20,8 @@ Rationale ========= A frozendict is a read-only mapping: a key cannot be added nor removed, and a -key is always mapped to the same value. However, frozendict values can be -mutable (not hashable). A frozendict is hashable and so immutable if and only -if all values are hashable (immutable). +key is always mapped to the same value. However, frozendict values can be not +hashable. A frozendict is hashable if and only if all values are hashable. Use cases: