(self, other)
| 918 | self.__dict__.update(kw) |
| 919 | |
| 920 | def __add__(self, other): |
| 921 | o1 = self.__class__.__new__(self.__class__) |
| 922 | o1.__dict__.update(self.__dict__) |
| 923 | |
| 924 | if set(other).difference(self._cache_attrs): |
| 925 | raise TypeError( |
| 926 | "dictionary contains attributes not covered by " |
| 927 | "Options class %s: %r" |
| 928 | % (self, set(other).difference(self._cache_attrs)) |
| 929 | ) |
| 930 | |
| 931 | o1.__dict__.update(other) |
| 932 | return o1 |
| 933 | |
| 934 | def __eq__(self, other): |
| 935 | # TODO: very inefficient. This is used only in test suites |
nothing calls this directly
no test coverage detected