Skip to content

Commit ad8793c

Browse files
committed
use custom import from existing utilities
1 parent b19c2c4 commit ad8793c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dash/development/base_component.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55

66
from .._utils import patch_collections_abc
77

8-
# pylint: disable=no-name-in-module, import-error
9-
if six.PY2:
10-
from collections import MutableSequence
11-
else:
12-
from collections.abc import MutableSequence
8+
MutableSequence = patch_collections_abc('MutableSequence')
139

1410

1511
# pylint: disable=no-init,too-few-public-methods

0 commit comments

Comments
 (0)