What are hashable objects in Python

Published: 09 October 2023
on channel: Python Morsels
957
39

Sets and dictionaries are powered by hashability. And hashable objects tend to be immutable.

https://pym.dev/what-are-hashable-obj...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Sets items must be hashable
00:13 Dictionary keys must be hashable
00:24 Hashability makes dictionaries and sets fast
01:09 Every hashable object has a semi-unique hash value
01:57 Hashable objects are often immutable
02:10 Hashability is linked to equality
02:38 An object's hash value should never change
03:04 Summary


On this page of the site you can watch the video online What are hashable objects in Python with a duration of hours minute second in good quality, which was uploaded by the user Python Morsels 09 October 2023, share the link with friends and acquaintances, this video has already been watched 957 times on youtube and it was liked by 39 viewers. Enjoy your viewing!