Skip to content

Commit

Permalink
replaced incorrect inheritance call with composition call
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Jul 29, 2018
1 parent 2c440f4 commit a0d191c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphi/types/bounded.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __setitem__(self, item, value):
return
elif isinstance(value, abc_collection.Mapping):
value = {node: value for node, value in value.items() if value <= self.value_bound}
super(Bounded, self).__setitem__(item, value)
self._graph[item] = value

def __delitem__(self, item):
del self._graph[item]
Expand Down

0 comments on commit a0d191c

Please sign in to comment.