parameters: (self, item)
docstring: Add new item to the list.
  
      If needed, append will first flush existing items and clear existing items.
  
      Args:
        item: an item to add to the list.
docstring_summary: Add new item to the list.
docstring_tokens: Add new item to the list .
function: def append(self, item):
      """Add new item to the list.
  
      If needed, append will first flush existing items and clear existing items.
  
      Args:
        item: an item to add to the list.
      """
      if self.should_flush():
        self.flush()
      self.items.append(item)
function_tokens: def append ( self , item ) : if self . should_flush ( ) : self . flush ( ) self . items . append ( item )