Strange behavior with python dictionary

后端 未结 0 783
[愿得一人]
[愿得一人] 2020-12-16 12:30

I was learning about python hash function and came across the following behavior.

>>> hash(-1)
-2
>>> hash(-2)
-2

SO alread

相关标签:
回答
  • 消灭零回复
提交回复
热议问题