'Create a more pretty-printable version of the assignment.'

def _addvariant(self):

    list_ = []
    for item in self.items():
        pair = (item[1], item[0])
        list_.append(pair)
    self.variant = list_
    return None
