We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363720b commit 9289757Copy full SHA for 9289757
1 file changed
src/sortedcontainers/__init__.py
@@ -44,29 +44,15 @@
44
:license: Apache 2.0, see LICENSE for more details.
45
46
"""
47
-# pylint: disable=reimported
48
49
-
50
-from .sortedlist import SortedList, SortedKeyList, SortedListWithKey
51
-from .sortedset import SortedSet
52
from .sorteddict import (
53
SortedDict,
54
- SortedKeysView,
55
SortedItemsView,
+ SortedKeysView,
56
SortedValuesView,
57
)
58
59
-try:
60
- from ._sortedlist import SortedList, SortedKeyList, SortedListWithKey
61
- from ._sortedset import SortedSet
62
- from ._sorteddict import (
63
- SortedDict,
64
65
- SortedItemsView,
66
- SortedValuesView,
67
- )
68
-except ImportError:
69
- pass
+from .sortedlist import SortedKeyList, SortedList, SortedListWithKey
+from .sortedset import SortedSet
70
71
__all__ = [
72
'SortedList',
0 commit comments