moto/moto/compat.py

11 lines
293 B
Python
Raw Normal View History

2014-11-30 03:43:30 +00:00
try:
from collections import OrderedDict # noqa
2014-11-30 03:43:30 +00:00
except ImportError:
# python 2.6 or earlier, use backport
from ordereddict import OrderedDict # noqa
try:
2019-12-17 16:05:52 +00:00
import collections.abc as collections_abc # noqa
except ImportError:
2019-12-17 16:05:52 +00:00
import collections as collections_abc # noqa