parameters: (self)
docstring: Strip trailing literal whitespace from this expansion.
docstring_summary: Strip trailing literal whitespace from this expansion.
docstring_tokens: Strip trailing literal whitespace from this expansion .
function: def rstrip(self):
          """Strip trailing literal whitespace from this expansion."""
          while True:
              i, isfunc = self[-1]
              if isfunc:
                  return
  
              i = i.rstrip()
              if i != '':
                  self[-1] = i, False
                  return
  
              del self[-1]
function_tokens: def rstrip ( self ) : while True : i , isfunc = self [ - 1 ] if isfunc : return i = i . rstrip ( ) if i != '' : self [ - 1 ] = i , False return del self [ - 1 ]