(self, other)
| 415 | return other |
| 416 | |
| 417 | def __add__(self, other): |
| 418 | # Do the coercion outside of the try block so that errors in it are |
| 419 | # noticed. |
| 420 | other = self.__coerce_instance(other) |
| 421 | |
| 422 | try: |
| 423 | # bytes.__add__ always returns bytes instances unfortunately |
| 424 | return CScript(super(CScript, self).__add__(other)) |
| 425 | except TypeError: |
| 426 | raise TypeError('Can not add a %r instance to a CScript' % other.__class__) |
| 427 | |
| 428 | def join(self, iterable): |
| 429 | # join makes no sense for a CScript() |
nothing calls this directly
no test coverage detected