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

        Args:
            time: time to be shifted

        Returns:
            Interval: interval shifted by `time`
        """
        return Interval(self._begin + time, self._end + time)
def shift(self, time: int) -> 'Interval':
        return Interval(self._begin + time, self._end + time)
def shift ( self , time : int ) -> 'Interval' : return Interval ( self . _begin + time , self . _end + time )
Return a new interval shifted by `time` from self

        Args:
            time: time to be shifted

        Returns:
            Interval: interval shifted by `time`
Return a new interval shifted by time from self