qiskit/pulse/timeslots.py
def shift(self, time: int) -> 'Timeslot':
        """Return a new Timeslot shifted by `time`.

        Args:
            time: time to be shifted
        """
        return Timeslot(self.interval.shift(time), self.channel)
def shift(self, time: int) -> 'Timeslot':
        return Timeslot(self.interval.shift(time), self.channel)
def shift ( self , time : int ) -> 'Timeslot' : return Timeslot ( self . interval . shift ( time ) , self . channel )
Return a new Timeslot shifted by `time`.

        Args:
            time: time to be shifted
Return a new Timeslot shifted by time .