Python 中 frozenset 不可变集合
frozenset 是不可变集合可以作为字典的 key 或放在集合中。set 不能哈希frozenset 可以。适合表示需要去重的常量集合。
20
0
0
2026-07-07