aboutsummaryrefslogtreecommitdiff
path: root/immutables/__init__.py
blob: b8565b0c33c790443e17c91a07f2ace156a9cb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# flake8: noqa

import sys

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from ._map import Map
else:
    try:
        from ._map import Map
    except ImportError:
        from .map import Map
    else:
        import collections.abc as _abc
        _abc.Mapping.register(Map)

from ._protocols import MapKeys as MapKeys
from ._protocols import MapValues as MapValues
from ._protocols import MapItems as MapItems
from ._protocols import MapMutation as MapMutation

from ._version import __version__

__all__ = 'Map',