Skip to content

Commit 2cd120e

Browse files
committed
Use module import
1 parent be143d6 commit 2cd120e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contextvars/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import collections.abc
22
import threading
33

4-
from immutables import Map
4+
import immutables
55

66

77
__all__ = ('ContextVar', 'Context', 'Token', 'copy_context')
@@ -24,7 +24,7 @@ def __new__(mcls, names, bases, dct):
2424
class Context(collections.abc.Mapping, metaclass=ContextMeta):
2525

2626
def __init__(self):
27-
self._data = Map()
27+
self._data = immutables.Map()
2828
self._prev_context = None
2929

3030
def run(self, callable, *args, **kwargs):

0 commit comments

Comments
 (0)