Skip to content

Commit 40e29ba

Browse files
committed
Remove py37 collections.abc deprecation warning from lru_cache module.
Looks like this occurrence was missing in pydata#2574.
1 parent 742ed39 commit 40e29ba

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)