qiskit/pulse/timeslots.py
def merged(self, timeslots: 'TimeslotCollection') -> 'TimeslotCollection':
        """Return a new TimeslotCollection merged with a specified `timeslots`

        Args:
            timeslots: TimeslotCollection to be merged
        """
        slots = [Timeslot(slot.interval, slot.channel) for slot in self.timeslots]
        slots.extend([Timeslot(slot.interval, slot.channel) for slot in timeslots.timeslots])
        return TimeslotCollection(*slots)
def merged(self, timeslots: 'TimeslotCollection') -> 'TimeslotCollection':
        slots = [Timeslot(slot.interval, slot.channel) for slot in self.timeslots]
        slots.extend([Timeslot(slot.interval, slot.channel) for slot in timeslots.timeslots])
        return TimeslotCollection(*slots)
def merged ( self , timeslots : 'TimeslotCollection' ) -> 'TimeslotCollection' : slots = [ Timeslot ( slot . interval , slot . channel ) for slot in self . timeslots ] slots . extend ( [ Timeslot ( slot . interval , slot . channel ) for slot in timeslots . timeslots ] ) return TimeslotCollection ( * slots )
Return a new TimeslotCollection merged with a specified `timeslots`

        Args:
            timeslots: TimeslotCollection to be merged
Return a new TimeslotCollection merged with a specified timeslots