Glossary: Algorithms Beyond the Basics
Hashable
Also written: unhashable
Able to be used as a dict key, as numbers, strings and tuples can. Lists are unhashable, so `@cache` raises `TypeError` if you pass one.
Glossary: Algorithms Beyond the Basics
Also written: unhashable
Able to be used as a dict key, as numbers, strings and tuples can. Lists are unhashable, so `@cache` raises `TypeError` if you pass one.