def append(self, item):
        if not isinstance(item, self.type):
            raise TypeError, 'item is not of type %s' % self.type
        super(CollectionList, self).append(self.type(xml=item._xml))  #append the item to itself (the list)
dataset/ETHPy150Open adlibre/Adlibre-TMS/adlibre_tms/apps/saasu_client/models/base.py/CollectionList.append/original