diff --git a/src/aligntools/lib.py b/src/aligntools/lib.py index 3759319..15c95b1 100644 --- a/src/aligntools/lib.py +++ b/src/aligntools/lib.py @@ -5,7 +5,7 @@ from enum import IntEnum from math import ceil, floor import re -from typing import Tuple, Iterable, Optional, Set, List, Union +from typing import Tuple, Iterable, Optional, Set, List, Union, Dict from dataclasses import dataclass from functools import cached_property, reduce from fractions import Fraction @@ -13,7 +13,7 @@ import aligntools.libexceptions as ex -class IntDict(dict[int, int]): +class IntDict(Dict[int, int]): """ An extension of the basic Python dictionary designed for integer-to-integer mappings.