Skip to content

Commit b9f4004

Browse files
committed
deprecation about MutableMapping
1 parent 95ef3ce commit b9f4004

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

pandas/compat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def lfilter(*args, **kwargs):
139139
Hashable = collections.abc.Hashable
140140
Iterable = collections.abc.Iterable
141141
Mapping = collections.abc.Mapping
142-
MutableMapping = collections.abc.MutableMapping
142+
MutableMapping = collections.MutableMapping
143143
Sequence = collections.abc.Sequence
144144
Sized = collections.abc.Sized
145145
Set = collections.abc.Set

pandas/compat/chainmap_impl.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
import sys
2-
3-
PY3 = sys.version_info[0] >= 3
4-
5-
if PY3:
6-
from collections.abc import MutableMapping
7-
else:
8-
from collections import MutableMapping
1+
from collections import MutableMapping
92

103
try:
114
from thread import get_ident

0 commit comments

Comments
 (0)