提交 6f7ef606 authored 作者: Virgile Andreani's avatar Virgile Andreani 提交者: Ricardo Vieira

Remove unused FrozenOrderedDict

上级 dc92c85b
# License : https://github.com/slezica/python-frozendict/blob/master/LICENSE.txt
import collections
import functools
import operator
from collections.abc import Mapping
......@@ -43,11 +42,3 @@ class frozendict(Mapping):
self._hash = functools.reduce(operator.xor, hashes, 0)
return self._hash
class FrozenOrderedDict(frozendict):
"""
A FrozenDict subclass that maintains key order
"""
dict_cls = collections.OrderedDict
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论