Klasa testowa Python Hashable

>>> import collections
>>> isinstance({}, collections.Hashable)
False
>>> isinstance(0, collections.Hashable)
True
Curious Cockroach