nodes: 0, module; 1, function_definition; 2, function_name:add; 3, parameters; 4, block; 5, identifier:self; 6, list_splat_pattern; 7, expression_statement; 8, for_statement; 9, return_statement; 10, identifier:items; 11, comment:"""
          Add items to be sorted.
          @param items: One or more items to be added.
          @type items: I{item}
          @return: self
          @rtype: L{DepList}
          """; 12, identifier:item; 13, identifier:items; 14, block; 15, identifier:self; 16, expression_statement; 17, expression_statement; 18, expression_statement; 19, call; 20, assignment; 21, assignment; 22, attribute; 23, argument_list; 24, identifier:key; 25, subscript; 26, subscript; 27, identifier:item; 28, attribute; 29, identifier:append; 30, identifier:item; 31, identifier:item; 32, integer:0; 33, attribute; 34, identifier:key; 35, identifier:self; 36, identifier:unsorted; 37, identifier:self; 38, identifier:index
code: def add(self, *items):
          """
          Add items to be sorted.
          @param items: One or more items to be added.
          @type items: I{item}
          @return: self
          @rtype: L{DepList}
          """
          for item in items:
              self.unsorted.append(item)
              key = item[0]
              self.index[key] = item
          return self