(self, other)
| 527 | return other |
| 528 | |
| 529 | def __add__(self, other): |
| 530 | # Do the coercion outside of the try block so that errors in it are |
| 531 | # noticed. |
| 532 | other = self.__coerce_instance(other) |
| 533 | |
| 534 | try: |
| 535 | # bytes.__add__ always returns bytes instances unfortunately |
| 536 | return CScript(super(CScript, self).__add__(other)) |
| 537 | except TypeError: |
| 538 | raise TypeError('Can not add a %r instance to a CScript' % other.__class__) |
| 539 | |
| 540 | def join(self, iterable): |
| 541 | # join makes no sense for a CScript() |
nothing calls this directly
no test coverage detected