code: def copy(self, outpoint=None, stack_script=None,
               redeem_script=None, sequence=None):
          '''
          TxIn -> TxIn
          '''
          return TxIn(
              outpoint=outpoint if outpoint is not None else self.outpoint,
              stack_script=(stack_script if stack_script is not None
                            else self.stack_script),
              redeem_script=(redeem_script if redeem_script is not None
                             else self.redeem_script),
              sequence=sequence if sequence is not None else self.sequencef copy(self, outpoint=None, stack_script=None,
               redeem_script=None, sequence=None):
          '''
          TxIn -> TxIn
          '''
          return TxIn(
              outpoint=outpoint if outpoint is not None else self.outpoint,
              stack_script=(stack_script if stack_script is not None
                            else self.stack_script),
              redeem_script=(redeem_script if redeem_script is not None
                             else self.redeem_script),
              sequence=sequence if sequence is not None else self.sequence)
docs: TxIn -> TxIn