diff --git a/messytables/core.py b/messytables/core.py index 28ad7eb..d40f1c7 100644 --- a/messytables/core.py +++ b/messytables/core.py @@ -1,5 +1,8 @@ from messytables.util import OrderedDict -from collections import Mapping +try: + from collections.abc import Mapping +except ImportError: + from collections import Mapping from messytables.error import TableError, NoSuchPropertyError import io from messytables.compat23 import *