diff --git a/stix2/utils.py b/stix2/utils.py index ffabed0..b23b0e4 100644 --- a/stix2/utils.py +++ b/stix2/utils.py @@ -1,6 +1,9 @@ """Utility functions and classes for the STIX2 library.""" -from collections import Mapping +try: + from collections.abc import Mapping +except ImportError: + from collections import Mapping import copy import datetime as dt import json