t529.py 97 B

123456789
  1. class test:
  2. def __hash__(self):
  3. return 1
  4. a = test()
  5. b = test()
  6. d = { a: 5 }
  7. d[b] = 6
  8. print d