Update the option values from an arbitrary dictionary, using all keys from the dictionary regardless of whether they have a corresponding attribute in self or not.
(self, dict)
| 844 | setattr(self, attr, dval) |
| 845 | |
| 846 | def _update_loose(self, dict): |
| 847 | """ |
| 848 | Update the option values from an arbitrary dictionary, |
| 849 | using all keys from the dictionary regardless of whether |
| 850 | they have a corresponding attribute in self or not. |
| 851 | """ |
| 852 | self.__dict__.update(dict) |
| 853 | |
| 854 | def _update(self, dict, mode): |
| 855 | if mode == "careful": |