We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c142b commit 86fce61Copy full SHA for 86fce61
1 file changed
dpath/util.py
@@ -80,7 +80,7 @@ def f(obj, pair, counter):
80
parent = segments.get(obj, path_segments[:-1])
81
82
# Deletion behavior depends on parent type
83
- if isinstance(parent, dict):
+ if isinstance(parent, MutableMapping):
84
del parent[key]
85
86
else:
0 commit comments