エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Immutable dictionary, only use as a key for another dictionary
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Immutable dictionary, only use as a key for another dictionary
I had the need to implement a hashable dict so I could use a dictionary as a key for another dict... I had the need to implement a hashable dict so I could use a dictionary as a key for another dictionary. A few months ago I used this implementation: Python hashable dicts However I got a notice from a colleague saying 'it is not really immutable, thus it is not safe. You can use it, but it does make me feel like a sad Panda'. So I started looking around to create one that is immutable. I have no

