Non-default values from right operand override those from left. The object returned is a new instance of the subclass.
(self, other)
| 92 | raise AttributeError(msg.format(self.__class__.__name__, name)) |
| 93 | |
| 94 | def __add__(self, other): |
| 95 | """Non-default values from right operand override those from left. |
| 96 | |
| 97 | The object returned is a new instance of the subclass. |
| 98 | |
| 99 | """ |
| 100 | return self.clone(**other.__dict__) |
| 101 | |
| 102 | |
| 103 | def _append_doc(doc, added_doc): |