Skip to content

Commit ecdb09d

Browse files
authored
Merge pull request #33 from ensan-hcl/fix_python_test
Use collections.abc.Hashable instead of collections.Hashable Self-approval.
2 parents d453087 + 9e0109b commit ecdb09d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/source/json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _make_json(dict, instance):
3232
if value in _ignore_objects: continue
3333
if key.startswith('_'): continue
3434
if callable(value): continue
35-
if isinstance(value, collections.Hashable) and value in _rename_objects:
35+
if isinstance(value, collections.abc.Hashable) and value in _rename_objects:
3636
json[_rename_objects[value]] = _to_json(value, instance)
3737
else:
3838
json[key] = _to_json(value, instance)

0 commit comments

Comments
 (0)