docs: def extend_unique(list1, list2):
      """Extend list1 with list2 as list.extend(), but doesn't append duplicates
      to list1"""
      for item in list2:
          if item not in list1:
              list1.append(item)