Dict or WeakKeyDictionary with identity equality — wrap unhashable objects to check identity

前端 未结 0 1069
长发绾君心
长发绾君心 2020-11-22 01:35

I want to use some objects as keys for some dict, which are either unhashable, or hashable but I want to overwrite their __eq__/__hash__ with the d

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