moto/moto/compat.py

11 lines
293 B
Python
Raw Normal View History

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