code: def getISOBufferList(self):
          
          transfer_p = self.__transfer
          transfer = transfer_p.contents
          # pylint: disable=undefined-variable
          if transfer.type != TRANSFER_TYPE_ISOCHRONOUS:
              # pylint: enable=undefined-variable
              raise TypeError(
                  'This method cannot be called on non-iso transfers.'
              )
          return libusb1.get_iso_packet_buffer_list(transfer_p)
docs: Get individual ISO transfer's buffer.
          Returns a list with one item per ISO transfer, with their
          individually-configured sizes.
          Returned list is consistent with getISOSetupList return value.
          Should not be called on a submitted transfer.
  
          See also iterISO.