diff --git a/prjxray/timing.py b/prjxray/timing.py index 4bd1e835..782d0e32 100644 --- a/prjxray/timing.py +++ b/prjxray/timing.py @@ -141,6 +141,7 @@ class RcElement(namedtuple('RcElement', 'resistance capacitance')): class hashabledict(dict): """ Immutable version of dictionary with hash support. """ + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.hash = hash(tuple(sorted(self.items())))