(self, other)
| 682 | return other |
| 683 | |
| 684 | def __add__(self, other): |
| 685 | # Do the coercion outside of the try block so that errors in it are |
| 686 | # noticed. |
| 687 | other = self.__coerce_instance(other) |
| 688 | |
| 689 | try: |
| 690 | # bytes.__add__ always returns bytes instances unfortunately |
| 691 | return CScript(super(CScript, self).__add__(other)) |
| 692 | except TypeError: |
| 693 | raise TypeError('Can not add a %r instance to a CScript' % other.__class__) |
| 694 | |
| 695 | def join(self, iterable): |
| 696 | # join makes no sense for a CScript() |
nothing calls this directly
no test coverage detected