[simplex] Fix issue with .update() method of magic_dictionary.
This commit is contained in:
parent
f438a8146b
commit
349caaff6b
@ -75,3 +75,10 @@ class magic_dictionary(dict):
|
|||||||
value = self.value_converter(value)
|
value = self.value_converter(value)
|
||||||
|
|
||||||
super().__setitem__(key, value)
|
super().__setitem__(key, value)
|
||||||
|
|
||||||
|
def update(self, *args, **kargs):
|
||||||
|
super().update(magic_dictionary(
|
||||||
|
*args, **kargs,
|
||||||
|
value_converter=self.value_converter,
|
||||||
|
key_predicate=self.key_predicate,
|
||||||
|
default_factory=self.default_factory))
|
||||||
|
Loading…
Reference in New Issue
Block a user