Skip to content

Commit 451a848

Browse files
committed
Add pure Python implementation (compatible with PyPy)
1 parent 5525440 commit 451a848

File tree

4 files changed

+525
-37
lines changed

4 files changed

+525
-37
lines changed

immutables/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from ._map import Map
1+
try:
2+
from ._map import Map
3+
except ImportError:
4+
from .map import Map
25

36

47
__all__ = 'Map',

0 commit comments

Comments
 (0)