code: def _update_items(self, items):
          
          self.items = items
          self.map = {item: idx for (idx, item) in enumerate(items)}
docs: Replace the 'items' list of this OrderedSet with a new one, updating
          self.map accordingly.