(self, other)
| 670 | return other |
| 671 | |
| 672 | def __add__(self, other): |
| 673 | # Do the coercion outside of the try block so that errors in it are |
| 674 | # noticed. |
| 675 | other = self.__coerce_instance(other) |
| 676 | |
| 677 | try: |
| 678 | # bytes.__add__ always returns bytes instances unfortunately |
| 679 | return CScript(super(CScript, self).__add__(other)) |
| 680 | except TypeError: |
| 681 | raise TypeError('Can not add a %r instance to a CScript' % other.__class__) |
| 682 | |
| 683 | def join(self, iterable): |
| 684 | # join makes no sense for a CScript() |
nothing calls this directly
no test coverage detected