d={[]:”str”,{}:”11”} TypeError: unhashable type: ‘dict’ python不支持dict的key为list或dict类型,因为list和dict类型是unhashable(不可哈希)的。