<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _irshift(self, n):
 """Shift bits by n to the right in place. Return self."""

        assert 0 < n <= self.len
        self._prepend(Bits(n))
        self._truncateend(n)
        return self