parameters: (self, n)
return_statement: return self._irshift(n)
docstring: Shift bits by n to the right in place. Return self.
  
          n -- the number of bits to shift. Must be >= 0.
docstring_summary: Shift bits by n to the right in place. Return self.
docstring_tokens: Shift bits by n to the right in place . Return self .
function: def __irshift__(self, n):
          """Shift bits by n to the right in place. Return self.
  
          n -- the number of bits to shift. Must be >= 0.
  
          """
          if n < 0:
              raise ValueError("Cannot shift by a negative amount.")
          if not self.len:
              raise ValueError("Cannot shift an empty bitstring.")
          if not n:
              return self
          n = min(n, self.len)
          return self._irshift(n)
function_tokens: def __irshift__ ( self , n ) : if n < 0 : raise ValueError ( "Cannot shift by a negative amount." ) if not self . len : raise ValueError ( "Cannot shift an empty bitstring." ) if not n : return self n = min ( n , self . len ) return self . _irshift ( n )