Skip to content

Instantly share code, notes, and snippets.

@matyasfodor
Created July 16, 2017 20:39
Show Gist options
  • Save matyasfodor/f68146605969f4045e4fc480a1a7f435 to your computer and use it in GitHub Desktop.
Save matyasfodor/f68146605969f4045e4fc480a1a7f435 to your computer and use it in GitHub Desktop.
>>> hash(nt(1, 2))
3713081631934410656
>>> hash(nt(1, {'a': 5}))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unhashable type: 'dict'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment