(self, other)
| 930 | self.__dict__.update(kw) |
| 931 | |
| 932 | def __add__(self, other): |
| 933 | o1 = self.__class__.__new__(self.__class__) |
| 934 | o1.__dict__.update(self.__dict__) |
| 935 | |
| 936 | if set(other).difference(self._cache_attrs): |
| 937 | raise TypeError( |
| 938 | "dictionary contains attributes not covered by " |
| 939 | "Options class %s: %r" |
| 940 | % (self, set(other).difference(self._cache_attrs)) |
| 941 | ) |
| 942 | |
| 943 | o1.__dict__.update(other) |
| 944 | return o1 |
| 945 | |
| 946 | def __eq__(self, other): |
| 947 | # TODO: very inefficient. This is used only in test suites |
nothing calls this directly
no test coverage detected