18173a5951
The former syntax is actually a mis-use and rejected since Flake8 3.6 [1]. [1] https://gitlab.com/pycqa/flake8/merge_requests/219
6 lines
163 B
Python
6 lines
163 B
Python
try:
|
|
from collections import OrderedDict # noqa
|
|
except ImportError:
|
|
# python 2.6 or earlier, use backport
|
|
from ordereddict import OrderedDict # noqa
|