problem comes from lines: ```python if hasattr(other, 'keys'): all_keys += [n for n in other.keys() if n not in self_keys] ``` in ``opmethod(self, other)`` function