[simplex] Fix issue with .update() method of magic_dictionary.
This commit is contained in:
@@ -75,3 +75,10 @@ class magic_dictionary(dict):
|
||||
value = self.value_converter(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))
|
||||
|
Reference in New Issue
Block a user