Luyt
Joined 17 years ago
Karma
3,269
Submissions
1,166
Member since
Jul 21
Software developer, Netherlands.
[email protected]
Python, C++, C, and others.
View on Hacker NewsJoined 17 years ago
When you want to use a tuple as a key in a dictionary, Python checks if all members of the tuple are immutable. If one or more of them aren't, you'll get an 'unhashable type' error.