code: def assign_from_list(obj: T,
                       fieldlist: Sequence[str],
                       valuelist: Sequence[any]) -> None:
      
      if len(fieldlist) != len(valuelist):
          raise AssertionError("assign_from_list: fieldlist and valuelist of "
                               "different length")
      for i in range(len(valuelist)):
          setattr(obj, fieldlist[i], valuelist[i])
docs: Within "obj", assigns the values from the value list to the fields in
      the fieldlist.