Lines Matching refs:hashable
640 Strings are hashable, and thus may be used as keys in a dictionary.
746 Lists are not hashable, so may not be used in the keys of a dictionary.
813 Tuples are hashable (assuming their elements are hashable),
829 are implemented using hash tables, so keys must be hashable. Hashable
831 composed from hashable values. Most mutable values, such as lists,
832 dictionaries, and sets, are not hashable, even when frozen.
833 Attempting to use a non-hashable value as a key in a dictionary
930 elements of a set must be hashable.
1509 a `set`. Attempting to use a non-hashable value as the key in a hash
1514 A hashable value has the same hash throughout its lifetime.
1517 which are all immutable, are hashable.
1520 hashable. These values remain unhashable even if they have become
1523 A `tuple` value is hashable only if all its elements are hashable.
1524 Thus `("localhost", 80)` is hashable but `([127, 0, 0, 1], 80)` is not.
1526 Values of the types `function` and `builtin_function_or_method` are also hashable.
1784 Only [hashable](#hashing) values may be used as the keys of a dictionary.
1786 a tuple is hashable only if its elements are hashable.
3174 even if the value is hashable and thus suitable as the key of dictionary.
3334 Range values are not hashable. <!-- should they be? -->
3720 `union` fails if any element of the iterable is not hashable.