Skip to content

Commit 948d984

Browse files
douglatornellmax-sixty
authored andcommitted
Remove py37 collections.abc deprecation warning from lru_cache module. (#2849)
Looks like this occurrence was missing in #2574.
1 parent 742ed39 commit 948d984

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xarray/backends/lru_cache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import collections
2+
import collections.abc
23
import threading
34

45

5-
class LRUCache(collections.MutableMapping):
6+
class LRUCache(collections.abc.MutableMapping):
67
"""Thread-safe LRUCache based on an OrderedDict.
78
89
All dict operations (__getitem__, __setitem__, __contains__) update the

0 commit comments

Comments
 (0)