(self, other)
| 886 | _cache_attrs: Tuple[str, ...] |
| 887 | |
| 888 | def __add__(self, other): |
| 889 | o1 = self() |
| 890 | |
| 891 | if set(other).difference(self._cache_attrs): |
| 892 | raise TypeError( |
| 893 | class="st">"dictionary contains attributes not covered by " |
| 894 | class="st">"Options class %s: %r" |
| 895 | % (self, set(other).difference(self._cache_attrs)) |
| 896 | ) |
| 897 | |
| 898 | o1.__dict__.update(other) |
| 899 | return o1 |
| 900 | |
| 901 | if TYPE_CHECKING: |
| 902 |
nothing calls this directly
no test coverage detected