Skip to content

Commit 2a6be0d

Browse files
committed
minor pyyaml update
Signed-off-by: syaakov <[email protected]>
1 parent af38629 commit 2a6be0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/external_libs/pyyaml-3.11/python3/yaml/constructor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def construct_mapping(self, node, deep=False):
123123
mapping = {}
124124
for key_node, value_node in node.value:
125125
key = self.construct_object(key_node, deep=deep)
126-
if not isinstance(key, collections.Hashable):
126+
if not isinstance(key, collections.abc.Hashable):
127127
raise ConstructorError("while constructing a mapping", node.start_mark,
128128
"found unhashable key", key_node.start_mark)
129129
value = self.construct_object(value_node, deep=deep)

0 commit comments

Comments
 (0)