summaryrefslogtreecommitdiffstatshomepage
path: root/py/vm.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-05-04 22:41:32 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-05-05 22:48:19 +0300
commit37c6555b4419eb6027a345ee0c3e759d50da771f (patch)
tree1a0d27a9b002c97380e7a185b38e7481908350a7 /py/vm.c
parent76677270218fb5732296e4fe1a0acbe05c8f818c (diff)
downloadmicropython-37c6555b4419eb6027a345ee0c3e759d50da771f.tar.gz
micropython-37c6555b4419eb6027a345ee0c3e759d50da771f.zip
obj: Handle user instance hash based on Python adhoc rules.
User instances are hashable by default (using __hash__ inherited from "object"). But if __eq__ is defined and __hash__ not defined in particular class, instance is not hashable.
Diffstat (limited to 'py/vm.c')
0 files changed, 0 insertions, 0 deletions