parameters: (self, index)
docstring: Remove a container but leave its contents
docstring_summary: Remove a container but leave its contents
docstring_tokens: Remove a container but leave its contents
function: def remove(self, index):
      "Remove a container but leave its contents"
      container = self.contents[index]
      self.contents.pop(index)
      while len(container.contents) > 0:
        self.contents.insert(index, container.contents.pop())
function_tokens: def remove ( self , index ) : container = self . contents [ index ] self . contents . pop ( index ) while len ( container . contents ) > 0 : self . contents . insert ( index , container . contents . pop ( ) )